#D2E56F#D2E56F
#D2E56F is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.4% C 0.145 H 117.0°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E56F |
|---|---|
| RGB | rgb(210, 229, 111) |
| HSL | hsl(70, 69%, 67%) |
| HSV | hsv(70, 52%, 90%) |
| CMYK | cmyk(8.3%, 0%, 51.5%, 10.2%) |
| CIE-LAB | lab(87.43, -23.03, 54.74) |
| CIE-LCH | lch(87.43, 59.39, 112.81°) |
| OKLab | oklab(88.37% -0.0659 0.129) |
| OKLCH | oklch(88.37% 0.145 117) |
| XYZ | xyz(57.4677, 70.8885, 25.6913) |
| Luminance | 0.7089 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.86
Pear
#CBF85F
ΔE00 5.89
Sickly Yellow
#D0E429
ΔE00 6.30
Light Khaki
#E6F2A2
ΔE00 6.71
Light Yellow Green
#CCFD7F
ΔE00 6.81
Yellowish Tan
#FCFC81
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E56F #826FE5
analogous
#E5BD6F #D2E56F #97E56F
triadic
#D2E56F #6FD2E5 #E56FD2
tetradic
#D2E56F #6FE5BD #826FE5 #E56F97
square
#D2E56F #6FE5BD #826FE5 #E56F97
split-complementary
#D2E56F #6F97E5 #BD6FE5
monochromatic
#A0B821 #C2DC3B #D2E56F #E2EEA3 #F2F8D7
Accessibility & contrast
On white
1.38
#D2E56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.18
#D2E56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E56F
15.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E56F | 1.00 | 1.38 | 15.18 | 15.18 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DB64
Deuteranopia (green-blind)
#F0DC76
Tritanopia (blue-blind)
#DDDACA
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #d2e56f; /* rgb */ color: rgb(210, 229, 111); /* oklch */ color: oklch(88.4% 0.145 117.0);
Tailwind
colors: {
custom: {
50: '#e2ed9b',
500: '#d2e56f',
950: '#000000',
},
}SCSS
$custom: #d2e56f; $custom-light: #e2ed9b; $custom-dark: #000000;
JSON
{
"hex": "#d2e56f",
"rgb": {
"r": 210,
"g": 229,
"b": 111
},
"hsl": {
"h": 69.661,
"s": 69.412,
"l": 66.667
},
"oklch": {
"l": 0.88366,
"c": 0.14487,
"h": 117
},
"luminance": 0.70888
}Semantic roles & 50–950 ramp
primary
#D2E56F
secondary
#5340B8
accent
#14D133
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F