#DEF2BD#DEF2BD

#DEF2BD is a very light, moderate yellow-green. Relative luminance 0.827; OKLCH L 93.3% C 0.073 H 124.6°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#DEF2BD
RGBrgb(222, 242, 189)
HSLhsl(83, 67%, 85%)
HSVhsv(83, 22%, 95%)
CMYKcmyk(8.3%, 0%, 21.9%, 5.1%)
CIE-LABlab(92.89, -15.54, 23.44)
CIE-LCHlch(92.89, 28.12, 123.53°)
OKLaboklab(93.31% -0.0412 0.0598)
OKLCHoklch(93.31% 0.073 124.6)
XYZxyz(71.0605, 82.7078, 60.3548)
Luminance0.8271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2BD #D1BDF2
analogous
#F2ECBD #DEF2BD #C4F2BD
triadic
#DEF2BD #BDDEF2 #F2BDDE
tetradic
#DEF2BD #BDF2EC #D1BDF2 #F2BDC4
square
#DEF2BD #BDF2EC #D1BDF2 #F2BDC4
split-complementary
#DEF2BD #BDC4F2 #ECBDF2
monochromatic
#ABDE57 #C4E88A #DEF2BD #F2FAE5 #F2FAE5

Accessibility & contrast

On white

1.20
#DEF2BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#DEF2BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2BD
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2BD#FFFFFF#000000##000000
##DEF2BD1.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8EBBA
Deuteranopia (green-blind)
#F5EABF
Tritanopia (blue-blind)
#E2EDE4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def2bd;
/* rgb */ color: rgb(222, 242, 189);
/* oklch */ color: oklch(93.3% 0.073 124.6);
Tailwind
colors: {
  custom: {
    50: '#e8f6d1',
    500: '#def2bd',
    950: '#000000',
  },
}
SCSS
$custom: #def2bd;
$custom-light: #e8f6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#def2bd",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 189
  },
  "hsl": {
    "h": 82.642,
    "s": 67.089,
    "l": 84.51
  },
  "oklch": {
    "l": 0.93311,
    "c": 0.07258,
    "h": 124.6
  },
  "luminance": 0.82708
}

Semantic roles & 50–950 ramp

primary
#DEF2BD
secondary
#A081D2
accent
#17CF5C
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF2BD

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

Preview Lab → · Contrast checker → · Palette generator →

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