#DEF5BD#DEF5BD

#DEF5BD is a very light, moderate yellow-green. Relative luminance 0.845; OKLCH L 93.9% C 0.077 H 126.0°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#DEF5BD
RGBrgb(222, 245, 189)
HSLhsl(85, 74%, 85%)
HSVhsv(85, 23%, 96%)
CMYKcmyk(9.4%, 0%, 22.9%, 3.9%)
CIE-LABlab(93.67, -17.01, 24.52)
CIE-LCHlch(93.67, 29.85, 124.74°)
OKLaboklab(93.94% -0.0453 0.0624)
OKLCHoklch(93.94% 0.077 126)
XYZxyz(71.9607, 84.5082, 60.6549)
Luminance0.8451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF5BD #D4BDF5
analogous
#F5F0BD #DEF5BD #C2F5BD
triadic
#DEF5BD #BDDEF5 #F5BDDE
tetradic
#DEF5BD #BDF5F0 #D4BDF5 #F5BDC2
square
#DEF5BD #BDF5F0 #D4BDF5 #F5BDC2
split-complementary
#DEF5BD #BDC2F5 #F0BDF5
monochromatic
#A9E553 #C3ED88 #DEF5BD #F2FBE4 #F2FBE4

Accessibility & contrast

On white

1.17
#DEF5BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#DEF5BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF5BD
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF5BD#FFFFFF#000000##000000
##DEF5BD1.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEEBA
Deuteranopia (green-blind)
#F8ECBF
Tritanopia (blue-blind)
#E1F0E6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def5bd;
/* rgb */ color: rgb(222, 245, 189);
/* oklch */ color: oklch(93.9% 0.077 126.0);
Tailwind
colors: {
  custom: {
    50: '#e8f8d1',
    500: '#def5bd',
    950: '#000000',
  },
}
SCSS
$custom: #def5bd;
$custom-light: #e8f8d1;
$custom-dark: #000000;
JSON
{
  "hex": "#def5bd",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 189
  },
  "hsl": {
    "h": 84.643,
    "s": 73.684,
    "l": 85.098
  },
  "oklch": {
    "l": 0.93935,
    "c": 0.07713,
    "h": 126
  },
  "luminance": 0.84509
}

Semantic roles & 50–950 ramp

primary
#DEF5BD
secondary
#A380D6
accent
#10D661
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF5BD

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

Preview Lab → · Contrast checker → · Palette generator →

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