#DEF2BF#DEF2BF
#DEF2BF is a very light, moderate yellow-green. Relative luminance 0.828; OKLCH L 93.4% C 0.070 H 125.1°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF2BF |
|---|---|
| RGB | rgb(222, 242, 191) |
| HSL | hsl(84, 66%, 85%) |
| HSV | hsv(84, 21%, 95%) |
| CMYK | cmyk(8.3%, 0%, 21.1%, 5.1%) |
| CIE-LAB | lab(92.92, -15.24, 22.47) |
| CIE-LCH | lch(92.92, 27.15, 124.14°) |
| OKLab | oklab(93.35% -0.0404 0.0574) |
| OKLCH | oklch(93.35% 0.07 125.1) |
| XYZ | xyz(71.2790, 82.7952, 61.5060) |
| Luminance | 0.8279 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Very Pale Green
#CFFDBC
ΔE00 5.72
Very Light Green
#D1FFBD
ΔE00 5.85
Ecru
#FEFFCA
ΔE00 6.39
Light Sage
#BCECAC
ΔE00 6.53
Ivory (survey)
#FFFFCB
ΔE00 6.66
Light Khaki
#E6F2A2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF2BF #D3BFF2
analogous
#F2ECBF #DEF2BF #C5F2BF
triadic
#DEF2BF #BFDEF2 #F2BFDE
tetradic
#DEF2BF #BFF2EC #D3BFF2 #F2BFC5
square
#DEF2BF #BFF2EC #D3BFF2 #F2BFC5
split-complementary
#DEF2BF #BFC5F2 #ECBFF2
monochromatic
#AADD59 #C4E88C #DEF2BF #F2FAE6 #F2FAE6
Accessibility & contrast
On white
1.20
#DEF2BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.56
#DEF2BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF2BF
17.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF2BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF2BF | 1.00 | 1.20 | 17.56 | 17.56 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8EBBC
Deuteranopia (green-blind)
#F5EAC1
Tritanopia (blue-blind)
#E1EDE4
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #def2bf; /* rgb */ color: rgb(222, 242, 191); /* oklch */ color: oklch(93.4% 0.070 125.1);
Tailwind
colors: {
custom: {
50: '#e8f6d2',
500: '#def2bf',
950: '#000000',
},
}SCSS
$custom: #def2bf; $custom-light: #e8f6d2; $custom-dark: #000000;
JSON
{
"hex": "#def2bf",
"rgb": {
"r": 222,
"g": 242,
"b": 191
},
"hsl": {
"h": 83.529,
"s": 66.234,
"l": 84.902
},
"oklch": {
"l": 0.93354,
"c": 0.07016,
"h": 125.1
},
"luminance": 0.82795
}Semantic roles & 50–950 ramp
primary
#DEF2BF
secondary
#A283D2
accent
#17CE5F
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583