#D2E170#D2E170
#D2E170 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.139 H 115.6°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E170 |
|---|---|
| RGB | rgb(210, 225, 112) |
| HSL | hsl(68, 65%, 66%) |
| HSV | hsv(68, 50%, 88%) |
| CMYK | cmyk(6.7%, 0%, 50.2%, 11.8%) |
| CIE-LAB | lab(86.37, -21.00, 53.02) |
| CIE-LCH | lch(86.37, 57.03, 111.61°) |
| OKLab | oklab(87.52% -0.06 0.1254) |
| OKLCH | oklch(87.52% 0.139 115.6) |
| XYZ | xyz(56.4290, 68.7226, 25.6182) |
| Luminance | 0.6872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.81
Light Khaki
#E6F2A2
ΔE00 6.64
Sickly Yellow
#D0E429
ΔE00 6.65
Greenish Tan
#BCCB7A
ΔE00 6.88
Khaki (CSS)
#F0E68C
ΔE00 7.01
Pear
#CBF85F
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E170 #7F70E1
analogous
#E1B770 #D2E170 #99E170
triadic
#D2E170 #70D2E1 #E170D2
tetradic
#D2E170 #70E1B7 #7F70E1 #E17099
square
#D2E170 #70E1B7 #7F70E1 #E17099
split-complementary
#D2E170 #7099E1 #B770E1
monochromatic
#9FB125 #C2D63D #D2E170 #E2ECA3 #F2F6D5
Accessibility & contrast
On white
1.42
#D2E170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.74
#D2E170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E170
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E170 | 1.00 | 1.42 | 14.74 | 14.74 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED766
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#DDD6C7
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d2e170; /* rgb */ color: rgb(210, 225, 112); /* oklch */ color: oklch(87.5% 0.139 115.6);
Tailwind
colors: {
custom: {
50: '#e2ea9c',
500: '#d2e170',
950: '#000000',
},
}SCSS
$custom: #d2e170; $custom-light: #e2ea9c; $custom-dark: #000000;
JSON
{
"hex": "#d2e170",
"rgb": {
"r": 210,
"g": 225,
"b": 112
},
"hsl": {
"h": 67.965,
"s": 65.318,
"l": 66.078
},
"oklch": {
"l": 0.87517,
"c": 0.13902,
"h": 115.6
},
"luminance": 0.68722
}Semantic roles & 50–950 ramp
primary
#D2E170
secondary
#5143B3
accent
#18CD30
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F