#D6F162#D6F162
#D6F162 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.169 H 118.9°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).
Color values
| HEX | #D6F162 |
|---|---|
| RGB | rgb(214, 241, 98) |
| HSL | hsl(71, 84%, 66%) |
| HSV | hsv(71, 59%, 95%) |
| CMYK | cmyk(11.2%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(90.82, -28.22, 64.39) |
| CIE-LCH | lch(90.82, 70.30, 113.67°) |
| OKLab | oklab(91.11% -0.0819 0.1483) |
| OKLCH | oklch(91.11% 0.169 118.9) |
| XYZ | xyz(61.3924, 78.0890, 23.3914) |
| Luminance | 0.7809 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 3.15
Yellowy Green
#BFF128
ΔE00 4.85
Yellow Green
#C8FD3D
ΔE00 4.99
Sickly Yellow
#D0E429
ΔE00 5.08
Light Yellow Green
#CCFD7F
ΔE00 5.54
Greeny Yellow
#C6F808
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6F162 #7D62F1
analogous
#F1C562 #D6F162 #8FF162
triadic
#D6F162 #62D6F1 #F162D6
tetradic
#D6F162 #62F1C5 #7D62F1 #F1628F
square
#D6F162 #62F1C5 #7D62F1 #F1628F
split-complementary
#D6F162 #628FF1 #C562F1
monochromatic
#A5C712 #C7EC2A #D6F162 #E5F69A #F3FBD2
Accessibility & contrast
On white
1.26
#D6F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.62
#D6F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D6F162
16.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6F162 | 1.00 | 1.26 | 16.62 | 16.62 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FCE56B
Tritanopia (blue-blind)
#E1E5D3
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #d6f162; /* rgb */ color: rgb(214, 241, 98); /* oklch */ color: oklch(91.1% 0.169 118.9);
Tailwind
colors: {
custom: {
50: '#e5f594',
500: '#d6f162',
950: '#000000',
},
}SCSS
$custom: #d6f162; $custom-light: #e5f594; $custom-dark: #000000;
JSON
{
"hex": "#d6f162",
"rgb": {
"r": 214,
"g": 241,
"b": 98
},
"hsl": {
"h": 71.329,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.91114,
"c": 0.16944,
"h": 118.9
},
"luminance": 0.78089
}Semantic roles & 50–950 ramp
primary
#D6F162
secondary
#4F33C4
accent
#05E02F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170D
muted
#84857F