#D9C154#D9C154
#D9C154 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.131 H 96.9°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C154 |
|---|---|
| RGB | rgb(217, 193, 84) |
| HSL | hsl(49, 64%, 59%) |
| HSV | hsv(49, 61%, 85%) |
| CMYK | cmyk(0%, 11.1%, 61.3%, 14.9%) |
| CIE-LAB | lab(78.19, -4.29, 56.59) |
| CIE-LCH | lch(78.19, 56.75, 94.33°) |
| OKLab | oklab(81.05% -0.0158 0.1299) |
| OKLCH | oklch(81.05% 0.131 96.9) |
| XYZ | xyz(49.2876, 53.5340, 16.1227) |
| Luminance | 0.5353 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.41
Maize
#F4D054
ΔE00 5.33
Mustard Yellow
#D2BD0A
ΔE00 5.36
Mustard
#DBB42C
ΔE00 5.47
Dark Yellow
#D5B60A
ΔE00 5.58
Light Mustard
#F7D560
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C154 #546CD9
analogous
#D97F54 #D9C154 #AFD954
triadic
#D9C154 #54D9C1 #C154D9
tetradic
#D9C154 #54D97F #546CD9 #D954AF
square
#D9C154 #54D97F #546CD9 #D954AF
split-complementary
#D9C154 #54AFD9 #7F54D9
monochromatic
#927E20 #C4A92C #D9C154 #E4D386 #EFE5B8
Accessibility & contrast
On white
1.79
#D9C154 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#D9C154 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C154
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C154 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C154 | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#E9B4A9
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d9c154; /* rgb */ color: rgb(217, 193, 84); /* oklch */ color: oklch(81.1% 0.131 96.9);
Tailwind
colors: {
custom: {
50: '#e8d388',
500: '#d9c154',
950: '#000000',
},
}SCSS
$custom: #d9c154; $custom-light: #e8d388; $custom-dark: #000000;
JSON
{
"hex": "#d9c154",
"rgb": {
"r": 217,
"g": 193,
"b": 84
},
"hsl": {
"h": 49.173,
"s": 63.636,
"l": 59.02
},
"oklch": {
"l": 0.81055,
"c": 0.13083,
"h": 96.9
},
"luminance": 0.53532
}Semantic roles & 50–950 ramp
primary
#D9C154
secondary
#3A4B97
accent
#5FE741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F