#DEF287#DEF287
#DEF287 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.4% C 0.134 H 117.8°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF287 |
|---|---|
| RGB | rgb(222, 242, 135) |
| HSL | hsl(71, 80%, 74%) |
| HSV | hsv(71, 44%, 95%) |
| CMYK | cmyk(8.3%, 0%, 44.2%, 5.1%) |
| CIE-LAB | lab(92.04, -22.35, 49.24) |
| CIE-LCH | lch(92.04, 54.07, 114.41°) |
| OKLab | oklab(92.35% -0.0625 0.1186) |
| OKLCH | oklch(92.35% 0.134 117.8) |
| XYZ | xyz(66.2500, 80.7836, 35.0197) |
| Luminance | 0.8078 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 4.31
Light Yellow Green
#CCFD7F
ΔE00 5.36
Pear
#CBF85F
ΔE00 5.94
Yellowish Tan
#FCFC81
ΔE00 6.07
Pale Yellow
#FFFF84
ΔE00 6.34
Faded Yellow
#FEFF7F
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF287 #9B87F2
analogous
#F2D187 #DEF287 #A9F287
triadic
#DEF287 #87DEF2 #F287DE
tetradic
#DEF287 #87F2D1 #9B87F2 #F287A9
square
#DEF287 #87F2D1 #9B87F2 #F287A9
split-complementary
#DEF287 #87A9F2 #D187F2
monochromatic
#BFE619 #CFEC50 #DEF287 #EDF8BE #F7FCE3
Accessibility & contrast
On white
1.22
#DEF287 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.16
#DEF287 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF287
17.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF287 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF287 | 1.00 | 1.22 | 17.16 | 17.16 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE87E
Deuteranopia (green-blind)
#FCE98C
Tritanopia (blue-blind)
#E8E8D9
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #def287; /* rgb */ color: rgb(222, 242, 135); /* oklch */ color: oklch(92.4% 0.134 117.8);
Tailwind
colors: {
custom: {
50: '#eaf6ac',
500: '#def287',
950: '#000000',
},
}SCSS
$custom: #def287; $custom-light: #eaf6ac; $custom-dark: #000000;
JSON
{
"hex": "#def287",
"rgb": {
"r": 222,
"g": 242,
"b": 135
},
"hsl": {
"h": 71.215,
"s": 80.451,
"l": 73.922
},
"oklch": {
"l": 0.92354,
"c": 0.13403,
"h": 117.8
},
"luminance": 0.80783
}Semantic roles & 50–950 ramp
primary
#DEF287
secondary
#674FCE
accent
#09DD30
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581