#D2E862#D2E862
#D2E862 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 88.9% C 0.160 H 117.6°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E862 |
|---|---|
| RGB | rgb(210, 232, 98) |
| HSL | hsl(70, 74%, 65%) |
| HSV | hsv(70, 58%, 91%) |
| CMYK | cmyk(9.5%, 0%, 57.8%, 9%) |
| CIE-LAB | lab(88.11, -25.54, 61.31) |
| CIE-LCH | lch(88.11, 66.42, 112.61°) |
| OKLab | oklab(88.87% -0.0742 0.1418) |
| OKLCH | oklch(88.87% 0.16 117.6) |
| XYZ | xyz(57.6405, 72.2972, 22.4712) |
| Luminance | 0.7230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.73
Pear
#CBF85F
ΔE00 4.73
Yellowy Green
#BFF128
ΔE00 5.85
Yellowish Green
#B0DD16
ΔE00 6.26
Light Yellow Green
#CCFD7F
ΔE00 6.64
Yellow Green
#C8FD3D
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E862 #7862E8
analogous
#E8BB62 #D2E862 #8FE862
triadic
#D2E862 #62D2E8 #E862D2
tetradic
#D2E862 #62E8BB #7862E8 #E8628F
square
#D2E862 #62E8BB #7862E8 #E8628F
split-complementary
#D2E862 #628FE8 #BB62E8
monochromatic
#9CB51B #C3E02D #D2E862 #E1F097 #F1F8CD
Accessibility & contrast
On white
1.36
#D2E862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.46
#D2E862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E862
15.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E862 | 1.00 | 1.36 | 15.46 | 15.46 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DD53
Deuteranopia (green-blind)
#F4DE6A
Tritanopia (blue-blind)
#DDDCCB
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #d2e862; /* rgb */ color: rgb(210, 232, 98); /* oklch */ color: oklch(88.9% 0.160 117.6);
Tailwind
colors: {
custom: {
50: '#e2ef93',
500: '#d2e862',
950: '#000000',
},
}SCSS
$custom: #d2e862; $custom-light: #e2ef93; $custom-dark: #000000;
JSON
{
"hex": "#d2e862",
"rgb": {
"r": 210,
"g": 232,
"b": 98
},
"hsl": {
"h": 69.851,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.8887,
"c": 0.16006,
"h": 117.6
},
"luminance": 0.72297
}Semantic roles & 50–950 ramp
primary
#D2E862
secondary
#4D39B5
accent
#0FD730
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F