#CDC94A#CDC94A
#CDC94A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.146 H 107.5°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC94A |
|---|---|
| RGB | rgb(205, 201, 74) |
| HSL | hsl(58, 57%, 55%) |
| HSV | hsv(58, 64%, 80%) |
| CMYK | cmyk(0%, 2%, 63.9%, 19.6%) |
| CIE-LAB | lab(79.18, -14.05, 61.63) |
| CIE-LCH | lch(79.18, 63.21, 102.84°) |
| OKLab | oklab(81.57% -0.044 0.1395) |
| OKLCH | oklch(81.57% 0.146 107.5) |
| XYZ | xyz(47.3011, 55.2483, 14.6496) |
| Luminance | 0.5525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.18
Dirty Yellow
#CDC50A
ΔE00 4.21
Puke Yellow
#C2BE0E
ΔE00 4.39
Ugly Yellow
#D0C101
ΔE00 5.24
Baby Puke Green
#B6C406
ΔE00 5.43
Bile
#B5C306
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC94A #4A4ECD
analogous
#CD884A #CDC94A #90CD4A
triadic
#CDC94A #4ACDC9 #C94ACD
tetradic
#CDC94A #4ACD88 #4A4ECD #CD4A90
square
#CDC94A #4ACD88 #4A4ECD #CD4A90
split-complementary
#CDC94A #4A90CD #884ACD
monochromatic
#7B7822 #ABA72F #CDC94A #DAD77A #E7E6AA
Accessibility & contrast
On white
1.74
#CDC94A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.05
#CDC94A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC94A
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC94A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC94A | 1.00 | 1.74 | 12.05 | 12.05 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C139
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc94a; /* rgb */ color: rgb(205, 201, 74); /* oklch */ color: oklch(81.6% 0.146 107.5);
Tailwind
colors: {
custom: {
50: '#dfd983',
500: '#cdc94a',
950: '#000000',
},
}SCSS
$custom: #cdc94a; $custom-light: #dfd983; $custom-dark: #000000;
JSON
{
"hex": "#cdc94a",
"rgb": {
"r": 205,
"g": 201,
"b": 74
},
"hsl": {
"h": 58.168,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.81571,
"c": 0.14622,
"h": 107.5
},
"luminance": 0.55247
}Semantic roles & 50–950 ramp
primary
#CDC94A
secondary
#383B83
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E