Light yellow
#CDC78A
#CDC78A is a light yellow with medium intensity, at step 300 of its 50–950 scale. Dark text on it has a contrast of 10.9:1. On white it reaches only 1.7:1, so use a darker shade for text.
#CDC78A shades and tints
Eleven steps from 50 to 950 with #CDC78A kept exactly at step 300. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 FDF9CF
- 100 F2EEC0
- 200 E0DCAA
- 300 CDC78A
- 400 ABA66C
- 500 908A4F
- 600 756F35
- 700 5D571F
- 800 47410B
- 900 312C00
- 950 1C1900
Tailwind CSS v4 theme
@theme { --color-yellow-50: #fdf9cf; --color-yellow-100: #f2eec0; --color-yellow-200: #e0dcaa; --color-yellow-300: #cdc78a; --color-yellow-400: #aba66c; --color-yellow-500: #908a4f; --color-yellow-600: #756f35; --color-yellow-700: #5d571f; --color-yellow-800: #47410b; --color-yellow-900: #312c00; --color-yellow-950: #1c1900;}Is #CDC78A readable?
Contrast for text on #CDC78A and for #CDC78A 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.7APCA Lc 35 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 10.9APCA Lc 72 · Content text 16px and up
- AaThe quick brown foxClosest readable: #7F783E · 4.5:1 Check in contrast tool
As text on white
Fail · 1.7APCA Lc 31 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 10.9APCA Lc 71 · Content text 16px and up
Color palettes with #CDC78A
Six palettes built around #CDC78A, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#CDC78A · #94C261 · #EC9F00 · #93F9C8 · #25251F
- Complementary#CDC78A · #9891DC · #A0A4FF · #EBDB9F · #252414
- Split complementary#CDC78A · #6BA3DB · #BA84E3 · #FFEB9F · #2A281B
- Triadic#CDC78A · #00ADD3 · #DC6AB5 · #ECDDA1 · #24231B
- Tetradic#CDC78A · #009F93 · #978CF7 · #FFE2E5 · #28271F
- Monochromatic#CDC78A · #C9B04F · #D0AF00 · #E9D588 · #302E23
#CDC78A as a brand color
What a UI color system built from #CDC78A looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #FDF9CF
- Brand 100, #F2EEC0
- Brand 200, #E0DCAA
- Brand 300, #CDC78A
- Brand 400, #ABA66C
- Brand 500, #908A4F
- Brand 600, #756F35
- Brand 700, #5D571F
- Brand 800, #47410B
- Brand 900, #312C00
- Brand 950, #1C1900
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E6E5E2
- Neutral 300, #D5D4CF
- Neutral 400, #A2A199
- Neutral 500, #74746B
- Neutral 600, #55554C
- Neutral 700, #414139
- Neutral 800, #292821
- Neutral 900, #191812
- Neutral 950, #0B0A05
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, #E0AF4D
- 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 300 with neutral 950 text, at 11.4:1.
- In dark mode primary stays Brand 300: it already reads on the dark background at 11.4: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 #CDC78A
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.