#DEF286#DEF286
#DEF286 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.3% C 0.135 H 117.7°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF286 |
|---|---|
| RGB | rgb(222, 242, 134) |
| HSL | hsl(71, 81%, 74%) |
| HSV | hsv(71, 45%, 95%) |
| CMYK | cmyk(8.3%, 0%, 44.6%, 5.1%) |
| CIE-LAB | lab(92.02, -22.45, 49.70) |
| CIE-LCH | lch(92.02, 54.54, 114.31°) |
| OKLab | oklab(92.34% -0.0629 0.1195) |
| OKLCH | oklch(92.34% 0.135 117.7) |
| XYZ | xyz(66.1799, 80.7556, 34.6506) |
| Luminance | 0.8075 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 4.44
Light Yellow Green
#CCFD7F
ΔE00 5.35
Pear
#CBF85F
ΔE00 5.84
Yellowish Tan
#FCFC81
ΔE00 6.00
Pale Yellow
#FFFF84
ΔE00 6.28
Faded Yellow
#FEFF7F
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF286 #9A86F2
analogous
#F2D086 #DEF286 #A8F286
triadic
#DEF286 #86DEF2 #F286DE
tetradic
#DEF286 #86F2D0 #9A86F2 #F286A8
square
#DEF286 #86F2D0 #9A86F2 #F286A8
split-complementary
#DEF286 #86A8F2 #D086F2
monochromatic
#BFE519 #CFEC4F #DEF286 #EDF8BD #F7FCE3
Accessibility & contrast
On white
1.22
#DEF286 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.15
#DEF286 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF286
17.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF286 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF286 | 1.00 | 1.22 | 17.15 | 17.15 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE87D
Deuteranopia (green-blind)
#FDE98C
Tritanopia (blue-blind)
#E8E8D8
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #def286; /* rgb */ color: rgb(222, 242, 134); /* oklch */ color: oklch(92.3% 0.135 117.7);
Tailwind
colors: {
custom: {
50: '#eaf6ab',
500: '#def286',
950: '#000000',
},
}SCSS
$custom: #def286; $custom-light: #eaf6ab; $custom-dark: #000000;
JSON
{
"hex": "#def286",
"rgb": {
"r": 222,
"g": 242,
"b": 134
},
"hsl": {
"h": 71.111,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.9234,
"c": 0.13506,
"h": 117.7
},
"luminance": 0.80755
}Semantic roles & 50–950 ramp
primary
#DEF286
secondary
#664ECE
accent
#09DD30
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581