#CDC659#CDC659
#CDC659 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.131 H 105.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC659 |
|---|---|
| RGB | rgb(205, 198, 89) |
| HSL | hsl(56, 54%, 58%) |
| HSV | hsv(56, 57%, 80%) |
| CMYK | cmyk(0%, 3.4%, 56.6%, 19.6%) |
| CIE-LAB | lab(78.51, -11.51, 54.41) |
| CIE-LCH | lch(78.51, 55.62, 101.94°) |
| OKLab | oklab(81.08% -0.0351 0.1262) |
| OKLCH | oklch(81.08% 0.131 105.6) |
| XYZ | xyz(47.1756, 54.0901, 17.4047) |
| Luminance | 0.5409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.72
Puke Yellow
#C2BE0E
ΔE00 5.76
Greenish Beige
#C9D179
ΔE00 5.87
Dirty Yellow
#CDC50A
ΔE00 5.89
Darkkhaki
#BDB76B
ΔE00 6.13
Sand (survey)
#E2CA76
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC659 #5960CD
analogous
#CD8C59 #CDC659 #9ACD59
triadic
#CDC659 #59CDC6 #C659CD
tetradic
#CDC659 #59CD8C #5960CD #CD599A
square
#CDC659 #59CD8C #5960CD #CD599A
split-complementary
#CDC659 #599ACD #8C59CD
monochromatic
#847E28 #B3AB36 #CDC659 #DBD688 #E9E6B7
Accessibility & contrast
On white
1.78
#CDC659 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#CDC659 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC659
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC659 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC659 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF4E
Deuteranopia (green-blind)
#D8C55F
Tritanopia (blue-blind)
#DBBAAE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc659; /* rgb */ color: rgb(205, 198, 89); /* oklch */ color: oklch(81.1% 0.131 105.6);
Tailwind
colors: {
custom: {
50: '#dfd78c',
500: '#cdc659',
950: '#000000',
},
}SCSS
$custom: #cdc659; $custom-light: #dfd78c; $custom-dark: #000000;
JSON
{
"hex": "#cdc659",
"rgb": {
"r": 205,
"g": 198,
"b": 89
},
"hsl": {
"h": 56.379,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.8108,
"c": 0.13095,
"h": 105.6
},
"luminance": 0.54089
}Semantic roles & 50–950 ramp
primary
#CDC659
secondary
#3F448B
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F