#D2CB59#D2CB59
#D2CB59 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.136 H 105.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CB59 |
|---|---|
| RGB | rgb(210, 203, 89) |
| HSL | hsl(57, 57%, 59%) |
| HSV | hsv(57, 58%, 82%) |
| CMYK | cmyk(0%, 3.3%, 57.6%, 17.6%) |
| CIE-LAB | lab(80.26, -11.97, 56.48) |
| CIE-LCH | lch(80.26, 57.74, 101.97°) |
| OKLab | oklab(82.57% -0.0368 0.1305) |
| OKLCH | oklch(82.57% 0.136 105.7) |
| XYZ | xyz(49.7390, 57.1364, 17.8576) |
| Luminance | 0.5714 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 5.52
Dirty Yellow
#CDC50A
ΔE00 5.56
Vomit Yellow
#C7C10C
ΔE00 5.66
Puke Yellow
#C2BE0E
ΔE00 5.91
Greenish Beige
#C9D179
ΔE00 5.94
Ugly Yellow
#D0C101
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CB59 #5960D2
analogous
#D28E59 #D2CB59 #9CD259
triadic
#D2CB59 #59D2CB #CB59D2
tetradic
#D2CB59 #59D28E #5960D2 #D2599C
square
#D2CB59 #59D28E #5960D2 #D2599C
split-complementary
#D2CB59 #599CD2 #8E59D2
monochromatic
#8B8526 #BBB333 #D2CB59 #DFDA89 #ECE9B9
Accessibility & contrast
On white
1.69
#D2CB59 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.43
#D2CB59 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CB59
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CB59 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CB59 | 1.00 | 1.69 | 12.43 | 12.43 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC44D
Deuteranopia (green-blind)
#DEC95F
Tritanopia (blue-blind)
#E0BFB2
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #d2cb59; /* rgb */ color: rgb(210, 203, 89); /* oklch */ color: oklch(82.6% 0.136 105.7);
Tailwind
colors: {
custom: {
50: '#e2da8c',
500: '#d2cb59',
950: '#000000',
},
}SCSS
$custom: #d2cb59; $custom-light: #e2da8c; $custom-dark: #000000;
JSON
{
"hex": "#d2cb59",
"rgb": {
"r": 210,
"g": 203,
"b": 89
},
"hsl": {
"h": 56.529,
"s": 57.346,
"l": 58.627
},
"oklch": {
"l": 0.82566,
"c": 0.13555,
"h": 105.7
},
"luminance": 0.57135
}Semantic roles & 50–950 ramp
primary
#D2CB59
secondary
#3E4391
accent
#50E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F