#CDC459#CDC459
#CDC459 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.129 H 104.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC459 |
|---|---|
| RGB | rgb(205, 196, 89) |
| HSL | hsl(55, 54%, 58%) |
| HSV | hsv(55, 57%, 80%) |
| CMYK | cmyk(0%, 4.4%, 56.6%, 19.6%) |
| CIE-LAB | lab(77.98, -10.49, 53.81) |
| CIE-LCH | lch(77.98, 54.82, 101.03°) |
| OKLab | oklab(80.66% -0.0322 0.1249) |
| OKLCH | oklch(80.66% 0.129 104.5) |
| XYZ | xyz(46.7214, 53.1818, 17.2533) |
| Luminance | 0.5318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.77
Vomit Yellow
#C7C10C
ΔE00 5.81
Puke Yellow
#C2BE0E
ΔE00 5.82
Dirty Yellow
#CDC50A
ΔE00 6.02
Sand (survey)
#E2CA76
ΔE00 6.02
Greenish Beige
#C9D179
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC459 #5962CD
analogous
#CD8A59 #CDC459 #9CCD59
triadic
#CDC459 #59CDC4 #C459CD
tetradic
#CDC459 #59CD8A #5962CD #CD599C
square
#CDC459 #59CD8A #5962CD #CD599C
split-complementary
#CDC459 #599CCD #8A59CD
monochromatic
#847D28 #B3A936 #CDC459 #DBD588 #E9E5B7
Accessibility & contrast
On white
1.80
#CDC459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.64
#CDC459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC459
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC459 | 1.00 | 1.80 | 11.64 | 11.64 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE4E
Deuteranopia (green-blind)
#D7C35F
Tritanopia (blue-blind)
#DBB8AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc459; /* rgb */ color: rgb(205, 196, 89); /* oklch */ color: oklch(80.7% 0.129 104.5);
Tailwind
colors: {
custom: {
50: '#dfd58b',
500: '#cdc459',
950: '#000000',
},
}SCSS
$custom: #cdc459; $custom-light: #dfd58b; $custom-dark: #000000;
JSON
{
"hex": "#cdc459",
"rgb": {
"r": 205,
"g": 196,
"b": 89
},
"hsl": {
"h": 55.345,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.80657,
"c": 0.12895,
"h": 104.5
},
"luminance": 0.5318
}Semantic roles & 50–950 ramp
primary
#CDC459
secondary
#3F458B
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F