#D2E262#D2E262
#D2E262 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.6% C 0.153 H 115.6°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E262 |
|---|---|
| RGB | rgb(210, 226, 98) |
| HSL | hsl(68, 69%, 64%) |
| HSV | hsv(68, 57%, 89%) |
| CMYK | cmyk(7.1%, 0%, 56.6%, 11.4%) |
| CIE-LAB | lab(86.49, -22.66, 59.50) |
| CIE-LCH | lch(86.49, 63.67, 110.85°) |
| OKLab | oklab(87.57% -0.0661 0.138) |
| OKLCH | oklch(87.57% 0.153 115.6) |
| XYZ | xyz(55.9804, 68.9770, 21.9178) |
| Luminance | 0.6898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.84
Greenish Beige
#C9D179
ΔE00 6.23
Pear
#CBF85F
ΔE00 6.35
Yellowish Green
#B0DD16
ΔE00 6.68
Green Yellow
#B5CE08
ΔE00 7.00
Yellowy Green
#BFF128
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E262 #7262E2
analogous
#E2B262 #D2E262 #92E262
triadic
#D2E262 #62D2E2 #E262D2
tetradic
#D2E262 #62E2B2 #7262E2 #E26292
square
#D2E262 #62E2B2 #7262E2 #E26292
split-complementary
#D2E262 #6292E2 #B262E2
monochromatic
#99AA1F #C3D82E #D2E262 #E1EC96 #F0F5C9
Accessibility & contrast
On white
1.42
#D2E262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.80
#D2E262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E262
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E262 | 1.00 | 1.42 | 14.80 | 14.80 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D854
Deuteranopia (green-blind)
#EFDA6A
Tritanopia (blue-blind)
#DED6C6
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d2e262; /* rgb */ color: rgb(210, 226, 98); /* oklch */ color: oklch(87.6% 0.153 115.6);
Tailwind
colors: {
custom: {
50: '#e2eb93',
500: '#d2e262',
950: '#000000',
},
}SCSS
$custom: #d2e262; $custom-light: #e2eb93; $custom-dark: #000000;
JSON
{
"hex": "#d2e262",
"rgb": {
"r": 210,
"g": 226,
"b": 98
},
"hsl": {
"h": 67.5,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.87572,
"c": 0.15297,
"h": 115.6
},
"luminance": 0.68976
}Semantic roles & 50–950 ramp
primary
#D2E262
secondary
#4A3CAC
accent
#15D12C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F