#D8C050#D8C050
#D8C050 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.133 H 97.2°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D8C050 |
|---|---|
| RGB | rgb(216, 192, 80) |
| HSL | hsl(49, 64%, 58%) |
| HSV | hsv(49, 63%, 85%) |
| CMYK | cmyk(0%, 11.1%, 63%, 15.3%) |
| CIE-LAB | lab(77.80, -4.45, 57.90) |
| CIE-LCH | lch(77.80, 58.07, 94.40°) |
| OKLab | oklab(80.72% -0.0167 0.1322) |
| OKLCH | oklch(80.72% 0.133 97.2) |
| XYZ | xyz(48.6186, 52.8797, 15.2337) |
| Luminance | 0.5288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.86
Mustard Yellow
#D2BD0A
ΔE00 4.94
Dark Yellow
#D5B60A
ΔE00 5.16
Mustard
#DBB42C
ΔE00 5.20
Maize
#F4D054
ΔE00 5.46
Mustard (survey)
#CEB301
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8C050 #5068D8
analogous
#D87C50 #D8C050 #ACD850
triadic
#D8C050 #50D8C0 #C050D8
tetradic
#D8C050 #50D87C #5068D8 #D850AC
square
#D8C050 #50D87C #5068D8 #D850AC
split-complementary
#D8C050 #50ACD8 #7C50D8
monochromatic
#8E7A20 #C0A62B #D8C050 #E3D282 #EEE4B4
Accessibility & contrast
On white
1.81
#D8C050 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.58
#D8C050 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8C050
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8C050 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8C050 | 1.00 | 1.81 | 11.58 | 11.58 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#E8B3A8
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d8c050; /* rgb */ color: rgb(216, 192, 80); /* oklch */ color: oklch(80.7% 0.133 97.2);
Tailwind
colors: {
custom: {
50: '#e7d286',
500: '#d8c050',
950: '#000000',
},
}SCSS
$custom: #d8c050; $custom-light: #e7d286; $custom-dark: #000000;
JSON
{
"hex": "#d8c050",
"rgb": {
"r": 216,
"g": 192,
"b": 80
},
"hsl": {
"h": 49.412,
"s": 63.551,
"l": 58.039
},
"oklch": {
"l": 0.80717,
"c": 0.13319,
"h": 97.2
},
"luminance": 0.52877
}Semantic roles & 50–950 ramp
primary
#D8C050
secondary
#394994
accent
#5EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E