#D9C050#D9C050
#D9C050 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.133 H 96.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C050 |
|---|---|
| RGB | rgb(217, 192, 80) |
| HSL | hsl(49, 64%, 58%) |
| HSV | hsv(49, 63%, 85%) |
| CMYK | cmyk(0%, 11.5%, 63.1%, 14.9%) |
| CIE-LAB | lab(77.89, -4.03, 58.03) |
| CIE-LCH | lch(77.89, 58.17, 93.97°) |
| OKLab | oklab(80.81% -0.0155 0.1324) |
| OKLCH | oklch(80.81% 0.133 96.7) |
| XYZ | xyz(48.9150, 53.0325, 15.2476) |
| Luminance | 0.5303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.82
Mustard Yellow
#D2BD0A
ΔE00 5.00
Mustard
#DBB42C
ΔE00 5.00
Dark Yellow
#D5B60A
ΔE00 5.09
Maize
#F4D054
ΔE00 5.27
Mustard (survey)
#CEB301
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C050 #5069D9
analogous
#D97B50 #D9C050 #ADD950
triadic
#D9C050 #50D9C0 #C050D9
tetradic
#D9C050 #50D97B #5069D9 #D950AD
square
#D9C050 #50D97B #5069D9 #D950AD
split-complementary
#D9C050 #50ADD9 #7B50D9
monochromatic
#8F7B1F #C2A62A #D9C050 #E4D282 #EFE4B5
Accessibility & contrast
On white
1.81
#D9C050 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.61
#D9C050 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C050
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C050 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C050 | 1.00 | 1.81 | 11.61 | 11.61 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#E9B3A8
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d9c050; /* rgb */ color: rgb(217, 192, 80); /* oklch */ color: oklch(80.8% 0.133 96.7);
Tailwind
colors: {
custom: {
50: '#e8d286',
500: '#d9c050',
950: '#000000',
},
}SCSS
$custom: #d9c050; $custom-light: #e8d286; $custom-dark: #000000;
JSON
{
"hex": "#d9c050",
"rgb": {
"r": 217,
"g": 192,
"b": 80
},
"hsl": {
"h": 49.051,
"s": 64.319,
"l": 58.235
},
"oklch": {
"l": 0.80809,
"c": 0.13329,
"h": 96.7
},
"luminance": 0.5303
}Semantic roles & 50–950 ramp
primary
#D9C050
secondary
#384995
accent
#5FE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E