#D6F252#D6F252
#D6F252 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.2% C 0.182 H 118.7°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D6F252 |
|---|---|
| RGB | rgb(214, 242, 82) |
| HSL | hsl(71, 86%, 64%) |
| HSV | hsv(71, 66%, 95%) |
| CMYK | cmyk(11.6%, 0%, 66.1%, 5.1%) |
| CIE-LAB | lab(90.97, -29.76, 70.92) |
| CIE-LCH | lch(90.97, 76.91, 112.76°) |
| OKLab | oklab(91.19% -0.0877 0.16) |
| OKLCH | oklch(91.19% 0.182 118.7) |
| XYZ | xyz(61.0078, 78.4100, 19.9017) |
| Luminance | 0.7841 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 3.50
Yellowy Green
#BFF128
ΔE00 3.89
Sickly Yellow
#D0E429
ΔE00 4.05
Yellow Green
#C8FD3D
ΔE00 4.20
Greeny Yellow
#C6F808
ΔE00 4.37
Lime Yellow
#D0FE1D
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6F252 #6E52F2
analogous
#F2BE52 #D6F252 #86F252
triadic
#D6F252 #52D6F2 #F252D6
tetradic
#D6F252 #52F2BE #6E52F2 #F25286
square
#D6F252 #52F2BE #6E52F2 #F25286
split-complementary
#D6F252 #5286F2 #BE52F2
monochromatic
#9DBC0E #C9EE19 #D6F252 #E3F68B #F1FBC4
Accessibility & contrast
On white
1.26
#D6F252 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.68
#D6F252 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D6F252
16.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6F252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6F252 | 1.00 | 1.26 | 16.68 | 16.68 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE53B
Deuteranopia (green-blind)
#FEE65E
Tritanopia (blue-blind)
#E2E5D2
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #d6f252; /* rgb */ color: rgb(214, 242, 82); /* oklch */ color: oklch(91.2% 0.182 118.7);
Tailwind
colors: {
custom: {
50: '#e6f68b',
500: '#d6f252',
950: '#000000',
},
}SCSS
$custom: #d6f252; $custom-light: #e6f68b; $custom-dark: #000000;
JSON
{
"hex": "#d6f252",
"rgb": {
"r": 214,
"g": 242,
"b": 82
},
"hsl": {
"h": 70.5,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.91192,
"c": 0.18246,
"h": 118.7
},
"luminance": 0.7841
}Semantic roles & 50–950 ramp
primary
#D6F252
secondary
#472EBA
accent
#03E32A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F