#D8D99E#D8D99E
#D8D99E is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.077 H 108.7°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D8D99E |
|---|---|
| RGB | rgb(216, 217, 158) |
| HSL | hsl(61, 44%, 74%) |
| HSV | hsv(61, 27%, 85%) |
| CMYK | cmyk(0.5%, 0%, 27.2%, 14.9%) |
| CIE-LAB | lab(85.35, -9.60, 29.05) |
| CIE-LCH | lch(85.35, 30.59, 108.29°) |
| OKLab | oklab(87.03% -0.0247 0.0729) |
| OKLCH | oklch(87.03% 0.077 108.7) |
| XYZ | xyz(59.3034, 66.6941, 42.0903) |
| Luminance | 0.6669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 4.23
Beige (survey)
#E6DAA6
ΔE00 4.52
Vanilla
#F3E5AB
ΔE00 5.72
Greenish Beige
#C9D179
ΔE00 6.12
Light Khaki
#E6F2A2
ΔE00 6.60
Light Tan
#FBEEAC
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8D99E #9F9ED9
analogous
#D9BC9E #D8D99E #BAD99E
triadic
#D8D99E #9ED8D9 #D99ED8
tetradic
#D8D99E #9ED9BC #9F9ED9 #D99EBA
square
#D8D99E #9ED9BC #9F9ED9 #D99EBA
split-complementary
#D8D99E #9EBAD9 #BC9ED9
monochromatic
#B4B547 #C6C872 #D8D99E #EAEACA #F6F6E9
Accessibility & contrast
On white
1.46
#D8D99E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.34
#D8D99E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8D99E
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8D99E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8D99E | 1.00 | 1.46 | 14.34 | 14.34 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3D49A
Deuteranopia (green-blind)
#E3D6A0
Tritanopia (blue-blind)
#E0D2C9
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #d8d99e; /* rgb */ color: rgb(216, 217, 158); /* oklch */ color: oklch(87.0% 0.077 108.7);
Tailwind
colors: {
custom: {
50: '#e4e4bb',
500: '#d8d99e',
950: '#000000',
},
}SCSS
$custom: #d8d99e; $custom-light: #e4e4bb; $custom-dark: #000000;
JSON
{
"hex": "#d8d99e",
"rgb": {
"r": 216,
"g": 217,
"b": 158
},
"hsl": {
"h": 61.017,
"s": 43.704,
"l": 73.529
},
"oklch": {
"l": 0.8703,
"c": 0.077,
"h": 108.7
},
"luminance": 0.66693
}Semantic roles & 50–950 ramp
primary
#D8D99E
secondary
#6C6BB0
accent
#2FB731
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482