#DEF8BB#DEF8BB

#DEF8BB is a very light, moderate yellow-green. Relative luminance 0.863; OKLCH L 94.5% C 0.084 H 126.7°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#DEF8BB
RGBrgb(222, 248, 187)
HSLhsl(86, 81%, 85%)
HSVhsv(86, 25%, 97%)
CMYKcmyk(10.5%, 0%, 24.6%, 2.7%)
CIE-LABlab(94.42, -18.77, 26.57)
CIE-LCHlch(94.42, 32.53, 125.23°)
OKLaboklab(94.52% -0.0502 0.0674)
OKLCHoklch(94.52% 0.084 126.7)
XYZxyz(72.6600, 86.2519, 59.8244)
Luminance0.8625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8BB #D5BBF8
analogous
#F8F4BB #DEF8BB #BFF8BB
triadic
#DEF8BB #BBDEF8 #F8BBDE
tetradic
#DEF8BB #BBF8F4 #D5BBF8 #F8BBBF
square
#DEF8BB #BBF8F4 #D5BBF8 #F8BBBF
split-complementary
#DEF8BB #BBBFF8 #F4BBF8
monochromatic
#A8ED4C #C3F284 #DEF8BB #F2FCE3 #F2FCE3

Accessibility & contrast

On white

1.15
#DEF8BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#DEF8BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8BB
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8BB#FFFFFF#000000##000000
##DEF8BB1.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0B7
Deuteranopia (green-blind)
#FBEFBE
Tritanopia (blue-blind)
#E1F2E8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #def8bb;
/* rgb */ color: rgb(222, 248, 187);
/* oklch */ color: oklch(94.5% 0.084 126.7);
Tailwind
colors: {
  custom: {
    50: '#e8facf',
    500: '#def8bb',
    950: '#000000',
  },
}
SCSS
$custom: #def8bb;
$custom-light: #e8facf;
$custom-dark: #000000;
JSON
{
  "hex": "#def8bb",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 187
  },
  "hsl": {
    "h": 85.574,
    "s": 81.333,
    "l": 85.294
  },
  "oklch": {
    "l": 0.9452,
    "c": 0.08405,
    "h": 126.7
  },
  "luminance": 0.86252
}

Semantic roles & 50–950 ramp

primary
#DEF8BB
secondary
#A57CDB
accent
#08DE63
background
#FEFFFE
surface
#FDFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF8BB

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

Preview Lab → · Contrast checker → · Palette generator →

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