#D0CD4E#D0CD4E
#D0CD4E is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.147 H 107.9°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D0CD4E |
|---|---|
| RGB | rgb(208, 205, 78) |
| HSL | hsl(59, 58%, 56%) |
| HSV | hsv(59, 63%, 82%) |
| CMYK | cmyk(0%, 1.4%, 62.5%, 18.4%) |
| CIE-LAB | lab(80.53, -14.56, 61.47) |
| CIE-LCH | lch(80.53, 63.17, 103.32°) |
| OKLab | oklab(82.71% -0.0452 0.1396) |
| OKLCH | oklch(82.71% 0.147 107.9) |
| XYZ | xyz(49.2205, 57.6241, 15.7360) |
| Luminance | 0.5762 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.65
Vomit Yellow
#C7C10C
ΔE00 4.82
Puke Yellow
#C2BE0E
ΔE00 5.13
Piss Yellow
#DDD618
ΔE00 5.25
Dull Yellow
#EEDC5B
ΔE00 5.62
Baby Puke Green
#B6C406
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0CD4E #4E51D0
analogous
#D08C4E #D0CD4E #92D04E
triadic
#D0CD4E #4ED0CD #CD4ED0
tetradic
#D0CD4E #4ED08C #4E51D0 #D04E92
square
#D0CD4E #4ED08C #4E51D0 #D04E92
split-complementary
#D0CD4E #4E92D0 #8C4ED0
monochromatic
#817F22 #B2AF2F #D0CD4E #DDDB7E #EAE8AF
Accessibility & contrast
On white
1.68
#D0CD4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.52
#D0CD4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0CD4E
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0CD4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0CD4E | 1.00 | 1.68 | 12.52 | 12.52 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC53E
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#DEC0B3
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #d0cd4e; /* rgb */ color: rgb(208, 205, 78); /* oklch */ color: oklch(82.7% 0.147 107.9);
Tailwind
colors: {
custom: {
50: '#e1dc85',
500: '#d0cd4e',
950: '#000000',
},
}SCSS
$custom: #d0cd4e; $custom-light: #e1dc85; $custom-dark: #000000;
JSON
{
"hex": "#d0cd4e",
"rgb": {
"r": 208,
"g": 205,
"b": 78
},
"hsl": {
"h": 58.615,
"s": 58.036,
"l": 56.078
},
"oklch": {
"l": 0.82713,
"c": 0.14676,
"h": 107.9
},
"luminance": 0.57623
}Semantic roles & 50–950 ramp
primary
#D0CD4E
secondary
#3A3B89
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E