#DEF2BB#DEF2BB
#DEF2BB is a very light, moderate yellow-green. Relative luminance 0.826; OKLCH L 93.3% C 0.075 H 124.1°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).
Color values
| HEX | #DEF2BB |
|---|---|
| RGB | rgb(222, 242, 187) |
| HSL | hsl(82, 68%, 84%) |
| HSV | hsv(82, 23%, 95%) |
| CMYK | cmyk(8.3%, 0%, 22.7%, 5.1%) |
| CIE-LAB | lab(92.85, -15.83, 24.42) |
| CIE-LCH | lch(92.85, 29.10, 122.96°) |
| OKLab | oklab(93.27% -0.042 0.0621) |
| OKLCH | oklch(93.27% 0.075 124.1) |
| XYZ | xyz(70.8449, 82.6216, 59.2193) |
| Luminance | 0.8262 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Very Pale Green
#CFFDBC
ΔE00 5.51
Very Light Green
#D1FFBD
ΔE00 5.61
Light Khaki
#E6F2A2
ΔE00 5.81
Ecru
#FEFFCA
ΔE00 6.26
Light Sage
#BCECAC
ΔE00 6.33
Ivory (survey)
#FFFFCB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DEF2BB #CFBBF2
analogous
#F2EBBB #DEF2BB #C3F2BB
triadic
#DEF2BB #BBDEF2 #F2BBDE
tetradic
#DEF2BB #BBF2EB #CFBBF2 #F2BBC3
square
#DEF2BB #BBF2EB #CFBBF2 #F2BBC3
split-complementary
#DEF2BB #BBC3F2 #EBBBF2
monochromatic
#ACDE54 #C5E888 #DEF2BB #F3FAE5 #F3FAE5
Accessibility & contrast
On white
1.20
#DEF2BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.52
#DEF2BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DEF2BB
17.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DEF2BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DEF2BB | 1.00 | 1.20 | 17.52 | 17.52 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9EBB8
Deuteranopia (green-blind)
#F6EABD
Tritanopia (blue-blind)
#E2ECE3
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #def2bb; /* rgb */ color: rgb(222, 242, 187); /* oklch */ color: oklch(93.3% 0.075 124.1);
Tailwind
colors: {
custom: {
50: '#e8f6cf',
500: '#def2bb',
950: '#000000',
},
}SCSS
$custom: #def2bb; $custom-light: #e8f6cf; $custom-dark: #000000;
JSON
{
"hex": "#def2bb",
"rgb": {
"r": 222,
"g": 242,
"b": 187
},
"hsl": {
"h": 81.818,
"s": 67.901,
"l": 84.118
},
"oklch": {
"l": 0.93268,
"c": 0.07499,
"h": 124.1
},
"luminance": 0.82622
}Semantic roles & 50–950 ramp
primary
#DEF2BB
secondary
#9D80D2
accent
#16D059
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583