#D2E16F#D2E16F
#D2E16F is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.140 H 115.6°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E16F |
|---|---|
| RGB | rgb(210, 225, 111) |
| HSL | hsl(68, 66%, 66%) |
| HSV | hsv(68, 51%, 88%) |
| CMYK | cmyk(6.7%, 0%, 50.7%, 11.8%) |
| CIE-LAB | lab(86.36, -21.09, 53.48) |
| CIE-LCH | lch(86.36, 57.48, 111.52°) |
| OKLab | oklab(87.51% -0.0604 0.1263) |
| OKLCH | oklch(87.51% 0.14 115.6) |
| XYZ | xyz(56.3736, 68.7005, 25.3266) |
| Luminance | 0.6870 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.89
Sickly Yellow
#D0E429
ΔE00 6.52
Light Khaki
#E6F2A2
ΔE00 6.75
Greenish Tan
#BCCB7A
ΔE00 6.97
Pear
#CBF85F
ΔE00 6.99
Khaki (CSS)
#F0E68C
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E16F #7E6FE1
analogous
#E1B76F #D2E16F #99E16F
triadic
#D2E16F #6FD2E1 #E16FD2
tetradic
#D2E16F #6FE1B7 #7E6FE1 #E16F99
square
#D2E16F #6FE1B7 #7E6FE1 #E16F99
split-complementary
#D2E16F #6F99E1 #B76FE1
monochromatic
#9EB125 #C2D63C #D2E16F #E2ECA2 #F2F6D4
Accessibility & contrast
On white
1.42
#D2E16F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.74
#D2E16F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E16F
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E16F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E16F | 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)
#EED764
Deuteranopia (green-blind)
#EDD975
Tritanopia (blue-blind)
#DDD6C7
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d2e16f; /* rgb */ color: rgb(210, 225, 111); /* oklch */ color: oklch(87.5% 0.140 115.6);
Tailwind
colors: {
custom: {
50: '#e2ea9b',
500: '#d2e16f',
950: '#000000',
},
}SCSS
$custom: #d2e16f; $custom-light: #e2ea9b; $custom-dark: #000000;
JSON
{
"hex": "#d2e16f",
"rgb": {
"r": 210,
"g": 225,
"b": 111
},
"hsl": {
"h": 67.895,
"s": 65.517,
"l": 65.882
},
"oklch": {
"l": 0.87505,
"c": 0.13998,
"h": 115.6
},
"luminance": 0.687
}Semantic roles & 50–950 ramp
primary
#D2E16F
secondary
#5142B2
accent
#18CD30
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F