Light yellow
#D8D166
#D8D166 is a light yellow with medium intensity, at step 300 of its 50–950 scale. Dark text on it has a contrast of 11.9:1. On white it reaches only 1.6:1, so use a darker shade for text.
#D8D166 shades and tints
Eleven steps from 50 to 950 with #D8D166 kept exactly at step 300. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 FFFBB4
- 100 F4F0A3
- 200 E3DE89
- 300 D8D166
- 400 AEA73E
- 500 938B0F
- 600 777000
- 700 5D5800
- 800 464200
- 900 302D00
- 950 1B1900
Tailwind CSS v4 theme
@theme { --color-yellow-50: #fffbb4; --color-yellow-100: #f4f0a3; --color-yellow-200: #e3de89; --color-yellow-300: #d8d166; --color-yellow-400: #aea73e; --color-yellow-500: #938b0f; --color-yellow-600: #777000; --color-yellow-700: #5d5800; --color-yellow-800: #464200; --color-yellow-900: #302d00; --color-yellow-950: #1b1900;}Is #D8D166 readable?
Contrast for text on #D8D166 and for #D8D166 used as text. WCAG 2.2 asks for 4.5:1 for body text and 3:1 for large text; APCA Lc rates how comfortable the text is to read.
- AaThe quick brown foxCheck in contrast tool
White text on it
Fail · 1.6APCA Lc 30 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 11.9APCA Lc 77 · Body text
- AaThe quick brown foxClosest readable: #807900 · 4.5:1 Check in contrast tool
As text on white
Fail · 1.6APCA Lc 27 · Dividers and decoration only
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 11.9APCA Lc 76 · Body text
Color palettes with #D8D166
Six palettes built around #D8D166, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#D8D166 · #77AB6C · #D68400 · #B7F1DE · #212119
- Complementary#D8D166 · #A291E2 · #B49EFF · #F5DE88 · #212212
- Split complementary#D8D166 · #5C94CB · #CD74DE · #FCE8A0 · #2B2919
- Triadic#D8D166 · #4BAFCE · #F066BE · #EBD68B · #242315
- Tetradic#D8D166 · #009399 · #AAA2FF · #FFCDCE · #323227
- Monochromatic#D8D166 · #C4B169 · #D9B600 · #F9E391 · #323026
#D8D166 as a brand color
What a UI color system built from #D8D166 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #FFFBB4
- Brand 100, #F4F0A3
- Brand 200, #E3DE89
- Brand 300, #D8D166
- Brand 400, #AEA73E
- Brand 500, #938B0F
- Brand 600, #777000
- Brand 700, #5D5800
- Brand 800, #464200
- Brand 900, #302D00
- Brand 950, #1B1900
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E5E5E2
- Neutral 300, #D5D4CF
- Neutral 400, #A2A199
- Neutral 500, #74746B
- Neutral 600, #55554C
- Neutral 700, #414139
- Neutral 800, #292822
- Neutral 900, #181812
- Neutral 950, #0B0A05
Success
- Success 50, #E7FFE2
- Success 100, #C4FEB8
- Success 200, #AEEDA1
- Success 300, #90D481
- Success 400, #70B860
- Success 500, #5DA74C
- Success 600, #378025
- Success 700, #206608
- Success 800, #134E00
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF6E5
- Warning 100, #FFE8C0
- Warning 200, #FFD27E
- Warning 300, #E7AE33
- Warning 400, #CF9917
- Warning 500, #AE7E00
- Warning 600, #8D6600
- Warning 700, #6F4F00
- Warning 800, #543B00
- Warning 900, #3A2800
- Warning 950, #221600
Danger
- Danger 50, #FFF4F2
- Danger 100, #FFE4E0
- Danger 200, #FFCBC2
- Danger 300, #FFA396
- Danger 400, #FF6F5E
- Danger 500, #DE4739
- Danger 600, #C22C22
- Danger 700, #A20806
- Danger 800, #7D0001
- Danger 900, #580000
- Danger 950, #360000
Info
- Info 50, #EEF9FF
- Info 100, #D6EFFF
- Info 200, #AFE1FF
- Info 300, #6ECBFF
- Info 400, #40AFE7
- Info 500, #0091C9
- Info 600, #0076A5
- Info 700, #005D82
- Info 800, #004563
- Info 900, #003045
- Info 950, #001B2A
- Primary buttons use Brand 300 with neutral 950 text, at 12.5:1.
- In dark mode primary stays Brand 300: it already reads on the dark background at 12.5:1.
- Neutrals carry a hint of its hue, so grays, borders and surfaces feel related to the brand.
- Success, warning, danger and info lean toward its hue and stay easy to tell apart.
Colors related to #D8D166
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.