#CDC259#CDC259
#CDC259 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.127 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC259 |
|---|---|
| RGB | rgb(205, 194, 89) |
| HSL | hsl(54, 54%, 58%) |
| HSV | hsv(54, 57%, 80%) |
| CMYK | cmyk(0%, 5.4%, 56.6%, 19.6%) |
| CIE-LAB | lab(77.45, -9.47, 53.21) |
| CIE-LCH | lch(77.45, 54.05, 100.09°) |
| OKLab | oklab(80.24% -0.0293 0.1236) |
| OKLCH | oklch(80.24% 0.127 103.3) |
| XYZ | xyz(46.2733, 52.2856, 17.1039) |
| Luminance | 0.5228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.48
Sand (survey)
#E2CA76
ΔE00 5.69
Puke Yellow
#C2BE0E
ΔE00 5.98
Vomit Yellow
#C7C10C
ΔE00 5.99
Olive Yellow
#C2B709
ΔE00 6.20
Dirty Yellow
#CDC50A
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC259 #5964CD
analogous
#CD8859 #CDC259 #9ECD59
triadic
#CDC259 #59CDC2 #C259CD
tetradic
#CDC259 #59CD88 #5964CD #CD599E
square
#CDC259 #59CD88 #5964CD #CD599E
split-complementary
#CDC259 #599ECD #8859CD
monochromatic
#847B28 #B3A736 #CDC259 #DBD388 #E9E5B7
Accessibility & contrast
On white
1.83
#CDC259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#CDC259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC259
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC259 | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#DBB6AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc259; /* rgb */ color: rgb(205, 194, 89); /* oklch */ color: oklch(80.2% 0.127 103.3);
Tailwind
colors: {
custom: {
50: '#dfd48b',
500: '#cdc259',
950: '#000000',
},
}SCSS
$custom: #cdc259; $custom-light: #dfd48b; $custom-dark: #000000;
JSON
{
"hex": "#cdc259",
"rgb": {
"r": 205,
"g": 194,
"b": 89
},
"hsl": {
"h": 54.31,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.80235,
"c": 0.127,
"h": 103.3
},
"luminance": 0.52284
}Semantic roles & 50–950 ramp
primary
#CDC259
secondary
#3F468B
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F