#D8C357#D8C357
#D8C357 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.130 H 98.4°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D8C357 |
|---|---|
| RGB | rgb(216, 195, 87) |
| HSL | hsl(50, 62%, 59%) |
| HSV | hsv(50, 60%, 85%) |
| CMYK | cmyk(0%, 9.7%, 59.7%, 15.3%) |
| CIE-LAB | lab(78.65, -5.53, 55.73) |
| CIE-LCH | lch(78.65, 56.00, 95.67°) |
| OKLab | oklab(81.41% -0.0189 0.1285) |
| OKLCH | oklch(81.41% 0.13 98.4) |
| XYZ | xyz(49.5563, 54.3194, 16.8893) |
| Luminance | 0.5432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.26
Mustard Yellow
#D2BD0A
ΔE00 5.54
Maize
#F4D054
ΔE00 5.63
Light Mustard
#F7D560
ΔE00 5.96
Sandy
#F1DA7A
ΔE00 5.98
Ugly Yellow
#D0C101
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8C357 #576CD8
analogous
#D88357 #D8C357 #ACD857
triadic
#D8C357 #57D8C3 #C357D8
tetradic
#D8C357 #57D883 #576CD8 #D857AC
square
#D8C357 #57D883 #576CD8 #D857AC
split-complementary
#D8C357 #57ACD8 #8357D8
monochromatic
#938022 #C4AC2E #D8C357 #E4D589 #EFE6BA
Accessibility & contrast
On white
1.77
#D8C357 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#D8C357 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8C357
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8C357 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8C357 | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#E8B6AB
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d8c357; /* rgb */ color: rgb(216, 195, 87); /* oklch */ color: oklch(81.4% 0.130 98.4);
Tailwind
colors: {
custom: {
50: '#e7d48a',
500: '#d8c357',
950: '#000000',
},
}SCSS
$custom: #d8c357; $custom-light: #e7d48a; $custom-dark: #000000;
JSON
{
"hex": "#d8c357",
"rgb": {
"r": 216,
"g": 195,
"b": 87
},
"hsl": {
"h": 50.233,
"s": 62.319,
"l": 59.412
},
"oklch": {
"l": 0.81405,
"c": 0.12986,
"h": 98.4
},
"luminance": 0.54317
}Semantic roles & 50–950 ramp
primary
#D8C357
secondary
#3C4B98
accent
#5DE542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F