#D4F162#D4F162
#D4F162 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 91.0% C 0.170 H 119.6°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D4F162 |
|---|---|
| RGB | rgb(212, 241, 98) |
| HSL | hsl(72, 84%, 66%) |
| HSV | hsv(72, 59%, 95%) |
| CMYK | cmyk(12%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(90.68, -29.00, 64.20) |
| CIE-LCH | lch(90.68, 70.45, 114.31°) |
| OKLab | oklab(90.97% -0.084 0.148) |
| OKLCH | oklch(90.97% 0.17 119.6) |
| XYZ | xyz(60.8121, 77.7898, 23.3642) |
| Luminance | 0.7779 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.81
Yellowy Green
#BFF128
ΔE00 4.67
Yellow Green
#C8FD3D
ΔE00 4.81
Light Yellow Green
#CCFD7F
ΔE00 5.24
Sickly Yellow
#D0E429
ΔE00 5.26
Greeny Yellow
#C6F808
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4F162 #7F62F1
analogous
#F1C762 #D4F162 #8DF162
triadic
#D4F162 #62D4F1 #F162D4
tetradic
#D4F162 #62F1C7 #7F62F1 #F1628D
square
#D4F162 #62F1C7 #7F62F1 #F1628D
split-complementary
#D4F162 #628DF1 #C762F1
monochromatic
#A2C712 #C5EC2A #D4F162 #E3F69A #F3FBD2
Accessibility & contrast
On white
1.27
#D4F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.56
#D4F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4F162
16.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4F162 | 1.00 | 1.27 | 16.56 | 16.56 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FCE56B
Tritanopia (blue-blind)
#DFE5D3
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #d4f162; /* rgb */ color: rgb(212, 241, 98); /* oklch */ color: oklch(91.0% 0.170 119.6);
Tailwind
colors: {
custom: {
50: '#e4f594',
500: '#d4f162',
950: '#000000',
},
}SCSS
$custom: #d4f162; $custom-light: #e4f594; $custom-dark: #000000;
JSON
{
"hex": "#d4f162",
"rgb": {
"r": 212,
"g": 241,
"b": 98
},
"hsl": {
"h": 72.168,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.9097,
"c": 0.17013,
"h": 119.6
},
"luminance": 0.77789
}Semantic roles & 50–950 ramp
primary
#D4F162
secondary
#5133C4
accent
#05E032
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170D
muted
#84857F