#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
RGBrgb(222, 242, 187)
HSLhsl(82, 68%, 84%)
HSVhsv(82, 23%, 95%)
CMYKcmyk(8.3%, 0%, 22.7%, 5.1%)
CIE-LABlab(92.85, -15.83, 24.42)
CIE-LCHlch(92.85, 29.10, 122.96°)
OKLaboklab(93.27% -0.042 0.0621)
OKLCHoklch(93.27% 0.075 124.1)
XYZxyz(70.8449, 82.6216, 59.2193)
Luminance0.8262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

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
##DEF2BB1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.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

Preview Lab

Preview with #DEF2BB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DEF2BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva