#D9E452#D9E452
#D9E452 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.4% C 0.166 H 113.4°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #D9E452 |
|---|---|
| RGB | rgb(217, 228, 82) |
| HSL | hsl(65, 73%, 61%) |
| HSV | hsv(65, 64%, 89%) |
| CMYK | cmyk(4.8%, 0%, 64%, 10.6%) |
| CIE-LAB | lab(87.41, -21.93, 67.31) |
| CIE-LCH | lch(87.41, 70.79, 108.04°) |
| OKLab | oklab(88.39% -0.066 0.1523) |
| OKLCH | oklch(88.39% 0.166 113.4) |
| XYZ | xyz(57.8832, 70.8489, 18.6070) |
| Luminance | 0.7085 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.08
Off Yellow
#F1F33F
ΔE00 5.16
Yellowish
#FAEE66
ΔE00 6.09
Piss Yellow
#DDD618
ΔE00 6.10
Straw
#FCF679
ΔE00 6.20
Canary
#FDFF63
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9E452 #5D52E4
analogous
#E4A652 #D9E452 #90E452
triadic
#D9E452 #52D9E4 #E452D9
tetradic
#D9E452 #52E4A6 #5D52E4 #E45290
square
#D9E452 #52E4A6 #5D52E4 #E45290
split-complementary
#D9E452 #5290E4 #A652E4
monochromatic
#98A219 #CAD722 #D9E452 #E5EC87 #F0F5BC
Accessibility & contrast
On white
1.38
#D9E452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.17
#D9E452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9E452
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9E452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9E452 | 1.00 | 1.38 | 15.17 | 15.17 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DA3E
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#E7D7C6
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #d9e452; /* rgb */ color: rgb(217, 228, 82); /* oklch */ color: oklch(88.4% 0.166 113.4);
Tailwind
colors: {
custom: {
50: '#e8ec8a',
500: '#d9e452',
950: '#000000',
},
}SCSS
$custom: #d9e452; $custom-light: #e8ec8a; $custom-dark: #000000;
JSON
{
"hex": "#d9e452",
"rgb": {
"r": 217,
"g": 228,
"b": 82
},
"hsl": {
"h": 64.521,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.88393,
"c": 0.16601,
"h": 113.4
},
"luminance": 0.70848
}Semantic roles & 50–950 ramp
primary
#D9E452
secondary
#3E35A5
accent
#10D51F
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F