#D2E261#D2E261
#D2E261 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.6% C 0.154 H 115.6°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D2E261 |
|---|---|
| RGB | rgb(210, 226, 97) |
| HSL | hsl(67, 69%, 63%) |
| HSV | hsv(67, 57%, 89%) |
| CMYK | cmyk(7.1%, 0%, 57.1%, 11.4%) |
| CIE-LAB | lab(86.48, -22.74, 59.92) |
| CIE-LCH | lch(86.48, 64.09, 110.78°) |
| OKLab | oklab(87.56% -0.0664 0.1388) |
| OKLCH | oklch(87.56% 0.154 115.6) |
| XYZ | xyz(55.9334, 68.9582, 21.6707) |
| Luminance | 0.6896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.73
Greenish Beige
#C9D179
ΔE00 6.32
Pear
#CBF85F
ΔE00 6.34
Yellowish Green
#B0DD16
ΔE00 6.61
Green Yellow
#B5CE08
ΔE00 6.93
Yellowy Green
#BFF128
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2E261 #7161E2
analogous
#E2B161 #D2E261 #91E261
triadic
#D2E261 #61D2E2 #E261D2
tetradic
#D2E261 #61E2B1 #7161E2 #E26191
square
#D2E261 #61E2B1 #7161E2 #E26191
split-complementary
#D2E261 #6191E2 #B161E2
monochromatic
#98A91F #C3D92D #D2E261 #E1EB95 #EFF5C8
Accessibility & contrast
On white
1.42
#D2E261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.79
#D2E261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2E261
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2E261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2E261 | 1.00 | 1.42 | 14.79 | 14.79 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D853
Deuteranopia (green-blind)
#EFDA69
Tritanopia (blue-blind)
#DED6C6
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d2e261; /* rgb */ color: rgb(210, 226, 97); /* oklch */ color: oklch(87.6% 0.154 115.6);
Tailwind
colors: {
custom: {
50: '#e2eb92',
500: '#d2e261',
950: '#000000',
},
}SCSS
$custom: #d2e261; $custom-light: #e2eb92; $custom-dark: #000000;
JSON
{
"hex": "#d2e261",
"rgb": {
"r": 210,
"g": 226,
"b": 97
},
"hsl": {
"h": 67.442,
"s": 68.984,
"l": 63.333
},
"oklch": {
"l": 0.87562,
"c": 0.15383,
"h": 115.6
},
"luminance": 0.68957
}Semantic roles & 50–950 ramp
primary
#D2E261
secondary
#4A3CAB
accent
#15D12C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F