#DEF7BB#DEF7BB

#DEF7BB is a very light, moderate yellow-green. Relative luminance 0.856; OKLCH L 94.3% C 0.083 H 126.3°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#DEF7BB
RGBrgb(222, 247, 187)
HSLhsl(85, 79%, 85%)
HSVhsv(85, 24%, 97%)
CMYKcmyk(10.1%, 0%, 24.3%, 3.1%)
CIE-LABlab(94.16, -18.28, 26.21)
CIE-LCHlch(94.16, 31.96, 124.89°)
OKLaboklab(94.31% -0.0489 0.0665)
OKLCHoklch(94.31% 0.083 126.3)
XYZxyz(72.3534, 85.6386, 59.7222)
Luminance0.8564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF7BB #D4BBF7
analogous
#F7F2BB #DEF7BB #C0F7BB
triadic
#DEF7BB #BBDEF7 #F7BBDE
tetradic
#DEF7BB #BBF7F2 #D4BBF7 #F7BBC0
square
#DEF7BB #BBF7F2 #D4BBF7 #F7BBC0
split-complementary
#DEF7BB #BBC0F7 #F2BBF7
monochromatic
#A9EA4D #C3F184 #DEF7BB #F2FCE4 #F2FCE4

Accessibility & contrast

On white

1.16
#DEF7BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#DEF7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF7BB
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF7BB#FFFFFF#000000##000000
##DEF7BB1.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEFB7
Deuteranopia (green-blind)
#FAEEBE
Tritanopia (blue-blind)
#E2F1E7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def7bb;
/* rgb */ color: rgb(222, 247, 187);
/* oklch */ color: oklch(94.3% 0.083 126.3);
Tailwind
colors: {
  custom: {
    50: '#e8f9cf',
    500: '#def7bb',
    950: '#000000',
  },
}
SCSS
$custom: #def7bb;
$custom-light: #e8f9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#def7bb",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 187
  },
  "hsl": {
    "h": 85,
    "s": 78.947,
    "l": 85.098
  },
  "oklch": {
    "l": 0.94311,
    "c": 0.08253,
    "h": 126.3
  },
  "luminance": 0.85639
}

Semantic roles & 50–950 ramp

primary
#DEF7BB
secondary
#A37DD9
accent
#0ADB61
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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