#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
RGBrgb(222, 242, 191)
HSLhsl(84, 66%, 85%)
HSVhsv(84, 21%, 95%)
CMYKcmyk(8.3%, 0%, 21.1%, 5.1%)
CIE-LABlab(92.92, -15.24, 22.47)
CIE-LCHlch(92.92, 27.15, 124.14°)
OKLaboklab(93.35% -0.0404 0.0574)
OKLCHoklch(93.35% 0.07 125.1)
XYZxyz(71.2790, 82.7952, 61.5060)
Luminance0.8279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

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
##DEF2BF1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.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

Preview Lab

Preview with #DEF2BF

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

Preview Lab → · Contrast checker → · Palette generator →

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