#DEF8BF#DEF8BF

#DEF8BF is a very light, moderate yellow-green. Relative luminance 0.864; OKLCH L 94.6% C 0.079 H 127.8°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#DEF8BF
RGBrgb(222, 248, 191)
HSLhsl(87, 80%, 86%)
HSVhsv(87, 23%, 97%)
CMYKcmyk(10.5%, 0%, 23%, 2.7%)
CIE-LABlab(94.49, -18.18, 24.64)
CIE-LCHlch(94.49, 30.62, 126.42°)
OKLaboklab(94.6% -0.0486 0.0627)
OKLCHoklch(94.6% 0.079 127.8)
XYZxyz(73.0942, 86.4255, 62.1111)
Luminance0.8643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8BF #D9BFF8
analogous
#F8F5BF #DEF8BF #C1F8BF
triadic
#DEF8BF #BFDEF8 #F8BFDE
tetradic
#DEF8BF #BFF8F5 #D9BFF8 #F8BFC1
square
#DEF8BF #BFF8F5 #D9BFF8 #F8BFC1
split-complementary
#DEF8BF #BFC1F8 #F5BFF8
monochromatic
#A5EC51 #C2F288 #DEF8BF #F1FCE3 #F1FCE3

Accessibility & contrast

On white

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

On black

18.29
#DEF8BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8BF
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8BF#FFFFFF#000000##000000
##DEF8BF1.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF0BC
Deuteranopia (green-blind)
#FAEFC2
Tritanopia (blue-blind)
#E1F3E8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #def8bf;
/* rgb */ color: rgb(222, 248, 191);
/* oklch */ color: oklch(94.6% 0.079 127.8);
Tailwind
colors: {
  custom: {
    50: '#e8fad2',
    500: '#def8bf',
    950: '#000000',
  },
}
SCSS
$custom: #def8bf;
$custom-light: #e8fad2;
$custom-dark: #000000;
JSON
{
  "hex": "#def8bf",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 191
  },
  "hsl": {
    "h": 87.368,
    "s": 80.282,
    "l": 86.078
  },
  "oklch": {
    "l": 0.94603,
    "c": 0.07934,
    "h": 127.8
  },
  "luminance": 0.86426
}

Semantic roles & 50–950 ramp

primary
#DEF8BF
secondary
#AA80DB
accent
#09DD69
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF8BF

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

Preview Lab → · Contrast checker → · Palette generator →

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