#D2E562#D2E562
#D2E562 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.2% C 0.157 H 116.6°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E562 |
|---|---|
| RGB | rgb(210, 229, 98) |
| HSL | hsl(69, 72%, 64%) |
| HSV | hsv(69, 57%, 90%) |
| CMYK | cmyk(8.3%, 0%, 57.2%, 10.2%) |
| CIE-LAB | lab(87.30, -24.10, 60.41) |
| CIE-LCH | lch(87.30, 65.04, 111.75°) |
| OKLab | oklab(88.22% -0.0701 0.1399) |
| OKLCH | oklch(88.22% 0.157 116.6) |
| XYZ | xyz(56.8033, 70.6228, 22.1921) |
| Luminance | 0.7062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.71
Pear
#CBF85F
ΔE00 5.53
Yellowish Green
#B0DD16
ΔE00 6.41
Yellowy Green
#BFF128
ΔE00 6.45
Greenish Beige
#C9D179
ΔE00 6.85
Yellowish Tan
#FCFC81
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E562 #7562E5
analogous
#E5B762 #D2E562 #91E562
triadic
#D2E562 #62D2E5 #E562D2
tetradic
#D2E562 #62E5B7 #7562E5 #E56291
square
#D2E562 #62E5B7 #7562E5 #E56291
split-complementary
#D2E562 #6291E5 #B762E5
monochromatic
#9AB01D #C3DC2D #D2E562 #E1EE97 #F0F6CB
Accessibility & contrast
On white
1.39
#D2E562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.12
#D2E562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E562
15.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E562 | 1.00 | 1.39 | 15.12 | 15.12 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F1DC6A
Tritanopia (blue-blind)
#DED9C9
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #d2e562; /* rgb */ color: rgb(210, 229, 98); /* oklch */ color: oklch(88.2% 0.157 116.6);
Tailwind
colors: {
custom: {
50: '#e2ed93',
500: '#d2e562',
950: '#000000',
},
}SCSS
$custom: #d2e562; $custom-light: #e2ed93; $custom-dark: #000000;
JSON
{
"hex": "#d2e562",
"rgb": {
"r": 210,
"g": 229,
"b": 98
},
"hsl": {
"h": 68.702,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.8822,
"c": 0.1565,
"h": 116.6
},
"luminance": 0.70622
}Semantic roles & 50–950 ramp
primary
#D2E562
secondary
#4C3BB1
accent
#12D42E
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F