#D2F862#D2F862
#D2F862 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.4% C 0.179 H 122.0°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D2F862 |
|---|---|
| RGB | rgb(210, 248, 98) |
| HSL | hsl(75, 91%, 68%) |
| HSV | hsv(75, 60%, 97%) |
| CMYK | cmyk(15.3%, 0%, 60.5%, 2.7%) |
| CIE-LAB | lab(92.45, -33.01, 66.10) |
| CIE-LCH | lch(92.45, 73.89, 116.54°) |
| OKLab | oklab(92.36% -0.0951 0.152) |
| OKLCH | oklch(92.36% 0.179 122) |
| XYZ | xyz(62.3510, 81.7182, 24.0413) |
| Luminance | 0.8172 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 1.17
Yellow Green
#C8FD3D
ΔE00 3.43
Light Yellow Green
#CCFD7F
ΔE00 4.13
Yellowy Green
#BFF128
ΔE00 4.17
Lemon Lime
#BFFE28
ΔE00 4.75
Lime Yellow
#D0FE1D
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2F862 #8862F8
analogous
#F8D362 #D2F862 #87F862
triadic
#D2F862 #62D2F8 #F862D2
tetradic
#D2F862 #62F8D3 #8862F8 #F86287
square
#D2F862 #62F8D3 #8862F8 #F86287
split-complementary
#D2F862 #6287F8 #D362F8
monochromatic
#A2D60A #C1F527 #D2F862 #E3FB9D #F4FDD7
Accessibility & contrast
On white
1.21
#D2F862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.34
#D2F862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2F862
17.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2F862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2F862 | 1.00 | 1.21 | 17.34 | 17.34 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA50
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#DCECD8
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #d2f862; /* rgb */ color: rgb(210, 248, 98); /* oklch */ color: oklch(92.4% 0.179 122.0);
Tailwind
colors: {
custom: {
50: '#e3fa94',
500: '#d2f862',
950: '#000000',
},
}SCSS
$custom: #d2f862; $custom-light: #e3fa94; $custom-dark: #000000;
JSON
{
"hex": "#d2f862",
"rgb": {
"r": 210,
"g": 248,
"b": 98
},
"hsl": {
"h": 75.2,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.92358,
"c": 0.17929,
"h": 122
},
"luminance": 0.81718
}Semantic roles & 50–950 ramp
primary
#D2F862
secondary
#572ED0
accent
#00E63A
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F