#D9E351#D9E351
#D9E351 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.2% C 0.166 H 113.1°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).
Color values
| HEX | #D9E351 |
|---|---|
| RGB | rgb(217, 227, 81) |
| HSL | hsl(64, 72%, 60%) |
| HSV | hsv(64, 64%, 89%) |
| CMYK | cmyk(4.4%, 0%, 64.3%, 11%) |
| CIE-LAB | lab(87.14, -21.50, 67.42) |
| CIE-LCH | lch(87.14, 70.76, 107.69°) |
| OKLab | oklab(88.17% -0.0649 0.1524) |
| OKLCH | oklch(88.17% 0.166 113.1) |
| XYZ | xyz(57.5711, 70.2851, 18.3166) |
| Luminance | 0.7028 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.12
Off Yellow
#F1F33F
ΔE00 5.17
Piss Yellow
#DDD618
ΔE00 5.84
Yellowish
#FAEE66
ΔE00 6.00
Straw
#FCF679
ΔE00 6.23
Canary
#FDFF63
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9E351 #5B51E3
analogous
#E3A451 #D9E351 #90E351
triadic
#D9E351 #51D9E3 #E351D9
tetradic
#D9E351 #51E3A4 #5B51E3 #E35190
square
#D9E351 #51E3A4 #5B51E3 #E35190
split-complementary
#D9E351 #5190E3 #A451E3
monochromatic
#97A01A #C8D522 #D9E351 #E5EB86 #F0F4BA
Accessibility & contrast
On white
1.39
#D9E351 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.06
#D9E351 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9E351
15.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9E351 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9E351 | 1.00 | 1.39 | 15.06 | 15.06 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3D93D
Deuteranopia (green-blind)
#F3DC5B
Tritanopia (blue-blind)
#E7D6C5
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #d9e351; /* rgb */ color: rgb(217, 227, 81); /* oklch */ color: oklch(88.2% 0.166 113.1);
Tailwind
colors: {
custom: {
50: '#e8eb89',
500: '#d9e351',
950: '#000000',
},
}SCSS
$custom: #d9e351; $custom-light: #e8eb89; $custom-dark: #000000;
JSON
{
"hex": "#d9e351",
"rgb": {
"r": 217,
"g": 227,
"b": 81
},
"hsl": {
"h": 64.11,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.8817,
"c": 0.16565,
"h": 113.1
},
"luminance": 0.70284
}Semantic roles & 50–950 ramp
primary
#D9E351
secondary
#3D35A3
accent
#11D41F
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F