#D0C04D#D0C04D
#D0C04D is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.135 H 101.4°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #D0C04D |
|---|---|
| RGB | rgb(208, 192, 77) |
| HSL | hsl(53, 58%, 56%) |
| HSV | hsv(53, 63%, 82%) |
| CMYK | cmyk(0%, 7.7%, 63%, 18.4%) |
| CIE-LAB | lab(77.07, -8.02, 58.20) |
| CIE-LCH | lch(77.07, 58.75, 97.84°) |
| OKLab | oklab(79.96% -0.0267 0.1326) |
| OKLCH | oklch(79.96% 0.135 101.4) |
| XYZ | xyz(46.2034, 51.6469, 14.5548) |
| Luminance | 0.5164 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.72
Ugly Yellow
#D0C101
ΔE00 4.89
Olive Yellow
#C2B709
ΔE00 4.99
Vomit Yellow
#C7C10C
ΔE00 5.10
Dirty Yellow
#CDC50A
ΔE00 5.24
Puke Yellow
#C2BE0E
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0C04D #4D5DD0
analogous
#D07E4D #D0C04D #9ED04D
triadic
#D0C04D #4DD0C0 #C04DD0
tetradic
#D0C04D #4DD07E #4D5DD0 #D04D9E
square
#D0C04D #4DD07E #4D5DD0 #D04D9E
split-complementary
#D0C04D #4D9ED0 #7E4DD0
monochromatic
#817522 #B1A12F #D0C04D #DDD17D #EAE2AE
Accessibility & contrast
On white
1.85
#D0C04D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.33
#D0C04D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0C04D
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0C04D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0C04D | 1.00 | 1.85 | 11.33 | 11.33 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB3F
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#DFB3A8
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #d0c04d; /* rgb */ color: rgb(208, 192, 77); /* oklch */ color: oklch(80.0% 0.135 101.4);
Tailwind
colors: {
custom: {
50: '#e1d284',
500: '#d0c04d',
950: '#000000',
},
}SCSS
$custom: #d0c04d; $custom-light: #e1d284; $custom-dark: #000000;
JSON
{
"hex": "#d0c04d",
"rgb": {
"r": 208,
"g": 192,
"b": 77
},
"hsl": {
"h": 52.672,
"s": 58.222,
"l": 55.882
},
"oklch": {
"l": 0.79958,
"c": 0.13523,
"h": 101.4
},
"luminance": 0.51645
}Semantic roles & 50–950 ramp
primary
#D0C04D
secondary
#394388
accent
#59E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E