#CDC559#CDC559
#CDC559 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.130 H 105.0°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC559 |
|---|---|
| RGB | rgb(205, 197, 89) |
| HSL | hsl(56, 54%, 58%) |
| HSV | hsv(56, 57%, 80%) |
| CMYK | cmyk(0%, 3.9%, 56.6%, 19.6%) |
| CIE-LAB | lab(78.25, -11.00, 54.11) |
| CIE-LCH | lch(78.25, 55.22, 101.49°) |
| OKLab | oklab(80.87% -0.0337 0.1255) |
| OKLCH | oklch(80.87% 0.13 105) |
| XYZ | xyz(46.9477, 53.6344, 17.3287) |
| Luminance | 0.5363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.75
Puke Yellow
#C2BE0E
ΔE00 5.78
Dirty Yellow
#CDC50A
ΔE00 5.94
Darkkhaki
#BDB76B
ΔE00 5.94
Greenish Beige
#C9D179
ΔE00 6.07
Sand (survey)
#E2CA76
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC559 #5961CD
analogous
#CD8B59 #CDC559 #9BCD59
triadic
#CDC559 #59CDC5 #C559CD
tetradic
#CDC559 #59CD8B #5961CD #CD599B
square
#CDC559 #59CD8B #5961CD #CD599B
split-complementary
#CDC559 #599BCD #8B59CD
monochromatic
#847E28 #B3AA36 #CDC559 #DBD588 #E9E6B7
Accessibility & contrast
On white
1.79
#CDC559 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CDC559 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC559
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC559 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC559 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF4E
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc559; /* rgb */ color: rgb(205, 197, 89); /* oklch */ color: oklch(80.9% 0.130 105.0);
Tailwind
colors: {
custom: {
50: '#dfd68b',
500: '#cdc559',
950: '#000000',
},
}SCSS
$custom: #cdc559; $custom-light: #dfd68b; $custom-dark: #000000;
JSON
{
"hex": "#cdc559",
"rgb": {
"r": 205,
"g": 197,
"b": 89
},
"hsl": {
"h": 55.862,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.80868,
"c": 0.12994,
"h": 105
},
"luminance": 0.53633
}Semantic roles & 50–950 ramp
primary
#CDC559
secondary
#3F448B
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F