#DEF7BF#DEF7BF

#DEF7BF is a very light, moderate yellow-green. Relative luminance 0.858; OKLCH L 94.4% C 0.078 H 127.4°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#DEF7BF
RGBrgb(222, 247, 191)
HSLhsl(87, 78%, 86%)
HSVhsv(87, 23%, 97%)
CMYKcmyk(10.1%, 0%, 22.7%, 3.1%)
CIE-LABlab(94.23, -17.69, 24.28)
CIE-LCHlch(94.23, 30.04, 126.08°)
OKLaboklab(94.39% -0.0472 0.0618)
OKLCHoklch(94.39% 0.078 127.4)
XYZxyz(72.7876, 85.8123, 62.0089)
Luminance0.8581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF7BF #D8BFF7
analogous
#F7F4BF #DEF7BF #C2F7BF
triadic
#DEF7BF #BFDEF7 #F7BFDE
tetradic
#DEF7BF #BFF7F4 #D8BFF7 #F7BFC2
square
#DEF7BF #BFF7F4 #D8BFF7 #F7BFC2
split-complementary
#DEF7BF #BFC2F7 #F4BFF7
monochromatic
#A6E952 #C2F089 #DEF7BF #F1FCE4 #F1FCE4

Accessibility & contrast

On white

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

On black

18.16
#DEF7BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF7BF
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF7BF#FFFFFF#000000##000000
##DEF7BF1.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEFBC
Deuteranopia (green-blind)
#F9EEC1
Tritanopia (blue-blind)
#E1F2E8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def7bf;
/* rgb */ color: rgb(222, 247, 191);
/* oklch */ color: oklch(94.4% 0.078 127.4);
Tailwind
colors: {
  custom: {
    50: '#e8f9d2',
    500: '#def7bf',
    950: '#000000',
  },
}
SCSS
$custom: #def7bf;
$custom-light: #e8f9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#def7bf",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 191
  },
  "hsl": {
    "h": 86.786,
    "s": 77.778,
    "l": 85.882
  },
  "oklch": {
    "l": 0.94394,
    "c": 0.0778,
    "h": 127.4
  },
  "luminance": 0.85813
}

Semantic roles & 50–950 ramp

primary
#DEF7BF
secondary
#A881DA
accent
#0BDA68
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF7BF

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

Preview Lab → · Contrast checker → · Palette generator →

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