#D9C455#D9C455
#D9C455 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.7% C 0.132 H 98.6°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C455 |
|---|---|
| RGB | rgb(217, 196, 85) |
| HSL | hsl(50, 63%, 59%) |
| HSV | hsv(50, 61%, 85%) |
| CMYK | cmyk(0%, 9.7%, 60.8%, 14.9%) |
| CIE-LAB | lab(78.98, -5.77, 57.01) |
| CIE-LCH | lch(78.98, 57.30, 95.78°) |
| OKLab | oklab(81.68% -0.0199 0.1309) |
| OKLCH | oklch(81.68% 0.132 98.6) |
| XYZ | xyz(49.9969, 54.8896, 16.5538) |
| Luminance | 0.5489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.48
Mustard Yellow
#D2BD0A
ΔE00 5.28
Maize
#F4D054
ΔE00 5.39
Ugly Yellow
#D0C101
ΔE00 5.68
Light Mustard
#F7D560
ΔE00 5.74
Sandy
#F1DA7A
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C455 #556AD9
analogous
#D98255 #D9C455 #ACD955
triadic
#D9C455 #55D9C4 #C455D9
tetradic
#D9C455 #55D982 #556AD9 #D955AC
square
#D9C455 #55D982 #556AD9 #D955AC
split-complementary
#D9C455 #55ACD9 #8255D9
monochromatic
#938121 #C5AC2C #D9C455 #E4D587 #EFE7B9
Accessibility & contrast
On white
1.75
#D9C455 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.98
#D9C455 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C455
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C455 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C455 | 1.00 | 1.75 | 11.98 | 11.98 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#E9B7AC
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d9c455; /* rgb */ color: rgb(217, 196, 85); /* oklch */ color: oklch(81.7% 0.132 98.6);
Tailwind
colors: {
custom: {
50: '#e8d589',
500: '#d9c455',
950: '#000000',
},
}SCSS
$custom: #d9c455; $custom-light: #e8d589; $custom-dark: #000000;
JSON
{
"hex": "#d9c455",
"rgb": {
"r": 217,
"g": 196,
"b": 85
},
"hsl": {
"h": 50.455,
"s": 63.462,
"l": 59.216
},
"oklch": {
"l": 0.81682,
"c": 0.13242,
"h": 98.6
},
"luminance": 0.54887
}Semantic roles & 50–950 ramp
primary
#D9C455
secondary
#3A4998
accent
#5CE641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F