Light yellow
#DFDF8B
#DFDF8B is a light yellow with medium intensity, at step 200 of its 50–950 scale. Dark text on it has a contrast of 13.5:1. On white it reaches only 1.4:1, so use a darker shade for text.
#DFDF8B shades and tints
Eleven steps from 50 to 950 with #DFDF8B kept exactly at step 200. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 FBFBC2
- 100 EFF0B2
- 200 DFDF8B
- 300 C5C57A
- 400 A9A858
- 500 8D8C39
- 600 73711A
- 700 5B5900
- 800 444200
- 900 2E2D00
- 950 1A1A00
Tailwind CSS v4 theme
@theme { --color-yellow-50: #fbfbc2; --color-yellow-100: #eff0b2; --color-yellow-200: #dfdf8b; --color-yellow-300: #c5c57a; --color-yellow-400: #a9a858; --color-yellow-500: #8d8c39; --color-yellow-600: #73711a; --color-yellow-700: #5b5900; --color-yellow-800: #444200; --color-yellow-900: #2e2d00; --color-yellow-950: #1a1a00;}Is #DFDF8B readable?
Contrast for text on #DFDF8B and for #DFDF8B 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.4APCA Lc 22 · Dividers and decoration only
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 13.5APCA Lc 84 · Body text
- AaThe quick brown foxClosest readable: #7C7A24 · 4.5:1 Check in contrast tool
As text on white
Fail · 1.4APCA Lc 19 · Dividers and decoration only
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 13.5APCA Lc 84 · Body text
Color palettes with #DFDF8B
Six palettes built around #DFDF8B, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#DFDF8B · #5C9957 · #E1A600 · #B0EED6 · #292821
- Complementary#DFDF8B · #8A74D4 · #A6A6FF · #C0E997 · #2F2F24
- Split complementary#DFDF8B · #7B9AD2 · #CE74F6 · #EDE1B2 · #242315
- Triadic#DFDF8B · #2E92C0 · #FF90CE · #EEDA8D · #313122
- Tetradic#DFDF8B · #3EA6AE · #A798FF · #FFCDCD · #292A24
- Monochromatic#DFDF8B · #9CBE79 · #D5B200 · #ECD78A · #30312B
#DFDF8B as a brand color
What a UI color system built from #DFDF8B looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #FBFBC2
- Brand 100, #EFF0B2
- Brand 200, #DFDF8B
- Brand 300, #C5C57A
- Brand 400, #A9A858
- Brand 500, #8D8C39
- Brand 600, #73711A
- Brand 700, #5B5900
- Brand 800, #444200
- Brand 900, #2E2D00
- Brand 950, #1A1A00
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E5E5E2
- Neutral 300, #D4D5CF
- Neutral 400, #A1A199
- Neutral 500, #74746B
- Neutral 600, #55554C
- Neutral 700, #414139
- Neutral 800, #282822
- Neutral 900, #181812
- Neutral 950, #0A0B05
Success
- Success 50, #E7FFE2
- Success 100, #CAFCBF
- Success 200, #B4EBA9
- Success 300, #97D28A
- Success 400, #78B66A
- Success 500, #66A558
- Success 600, #417E33
- Success 700, #2A651C
- Success 800, #174D07
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF6E5
- Warning 100, #FFE8C0
- Warning 200, #FCD387
- Warning 300, #E4B352
- Warning 400, #C99B3B
- Warning 500, #AE7F06
- 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, #F77767
- Danger 500, #D45345
- Danger 600, #B93C30
- Danger 700, #99221A
- Danger 800, #7B0805
- Danger 900, #580000
- Danger 950, #360000
Info
- Info 50, #EEF9FF
- Info 100, #D6EFFF
- Info 200, #AFE1FF
- Info 300, #74CBFC
- Info 400, #4EAEE1
- Info 500, #2591C4
- Info 600, #0076A5
- Info 700, #005D82
- Info 800, #004563
- Info 900, #003045
- Info 950, #001B2A
- Primary buttons use Brand 200 with neutral 950 text, at 14.2:1.
- In dark mode primary stays Brand 200: it already reads on the dark background at 14.2: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 #DFDF8B
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.