#DEF8BD#DEF8BD

#DEF8BD is a very light, moderate yellow-green. Relative luminance 0.863; OKLCH L 94.6% C 0.082 H 127.2°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#DEF8BD
RGBrgb(222, 248, 189)
HSLhsl(86, 81%, 86%)
HSVhsv(86, 24%, 97%)
CMYKcmyk(10.5%, 0%, 23.8%, 2.7%)
CIE-LABlab(94.46, -18.47, 25.60)
CIE-LCHlch(94.46, 31.57, 125.81°)
OKLaboklab(94.56% -0.0494 0.065)
OKLCHoklch(94.56% 0.082 127.2)
XYZxyz(72.8756, 86.3381, 60.9598)
Luminance0.8634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8BD #D7BDF8
analogous
#F8F5BD #DEF8BD #C0F8BD
triadic
#DEF8BD #BDDEF8 #F8BDDE
tetradic
#DEF8BD #BDF8F5 #D7BDF8 #F8BDC0
square
#DEF8BD #BDF8F5 #D7BDF8 #F8BDC0
split-complementary
#DEF8BD #BDC0F8 #F5BDF8
monochromatic
#A7EC4E #C2F286 #DEF8BD #F1FCE3 #F1FCE3

Accessibility & contrast

On white

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

On black

18.27
#DEF8BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8BD
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8BD#FFFFFF#000000##000000
##DEF8BD1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def8bd;
/* rgb */ color: rgb(222, 248, 189);
/* oklch */ color: oklch(94.6% 0.082 127.2);
Tailwind
colors: {
  custom: {
    50: '#e8fad1',
    500: '#def8bd',
    950: '#000000',
  },
}
SCSS
$custom: #def8bd;
$custom-light: #e8fad1;
$custom-dark: #000000;
JSON
{
  "hex": "#def8bd",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 189
  },
  "hsl": {
    "h": 86.441,
    "s": 80.822,
    "l": 85.686
  },
  "oklch": {
    "l": 0.94561,
    "c": 0.08169,
    "h": 127.2
  },
  "luminance": 0.86339
}

Semantic roles & 50–950 ramp

primary
#DEF8BD
secondary
#A77EDB
accent
#08DD66
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF8BD

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

Preview Lab → · Contrast checker → · Palette generator →

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