#D9E156#D9E156
#D9E156 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.8% C 0.160 H 112.4°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).
Color values
| HEX | #D9E156 |
|---|---|
| RGB | rgb(217, 225, 86) |
| HSL | hsl(63, 70%, 61%) |
| HSV | hsv(63, 62%, 88%) |
| CMYK | cmyk(3.6%, 0%, 61.8%, 11.8%) |
| CIE-LAB | lab(86.64, -20.22, 64.89) |
| CIE-LCH | lch(86.64, 67.97, 107.31°) |
| OKLab | oklab(87.79% -0.0608 0.1478) |
| OKLCH | oklch(87.79% 0.16 112.4) |
| XYZ | xyz(57.2217, 69.2753, 19.1594) |
| Luminance | 0.6927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.81
Off Yellow
#F1F33F
ΔE00 5.66
Piss Yellow
#DDD618
ΔE00 5.82
Yellowish
#FAEE66
ΔE00 5.90
Straw
#FCF679
ΔE00 6.16
Dull Yellow
#EEDC5B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9E156 #5E56E1
analogous
#E1A356 #D9E156 #93E156
triadic
#D9E156 #56D9E1 #E156D9
tetradic
#D9E156 #56E1A3 #5E56E1 #E15693
square
#D9E156 #56E1A3 #5E56E1 #E15693
split-complementary
#D9E156 #5693E1 #A356E1
monochromatic
#99A01C #CAD426 #D9E156 #E5EA8A #F0F3BE
Accessibility & contrast
On white
1.41
#D9E156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.85
#D9E156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9E156
14.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9E156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9E156 | 1.00 | 1.41 | 14.85 | 14.85 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D745
Deuteranopia (green-blind)
#F1DB5F
Tritanopia (blue-blind)
#E7D4C4
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #d9e156; /* rgb */ color: rgb(217, 225, 86); /* oklch */ color: oklch(87.8% 0.160 112.4);
Tailwind
colors: {
custom: {
50: '#e8ea8c',
500: '#d9e156',
950: '#000000',
},
}SCSS
$custom: #d9e156; $custom-light: #e8ea8c; $custom-dark: #000000;
JSON
{
"hex": "#d9e156",
"rgb": {
"r": 217,
"g": 225,
"b": 86
},
"hsl": {
"h": 63.453,
"s": 69.849,
"l": 60.98
},
"oklch": {
"l": 0.87785,
"c": 0.15981,
"h": 112.4
},
"luminance": 0.69274
}Semantic roles & 50–950 ramp
primary
#D9E156
secondary
#3E38A3
accent
#14D21F
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F