#DEF7CF#DEF7CF

#DEF7CF is a very light, muted yellow-green. Relative luminance 0.866; OKLCH L 94.8% C 0.059 H 133.7°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#DEF7CF
RGBrgb(222, 247, 207)
HSLhsl(98, 71%, 89%)
HSVhsv(98, 16%, 97%)
CMYKcmyk(10.1%, 0%, 16.2%, 3.1%)
CIE-LABlab(94.55, -15.20, 16.53)
CIE-LCHlch(94.55, 22.45, 132.60°)
OKLaboklab(94.75% -0.0408 0.0426)
OKLCHoklch(94.75% 0.059 133.7)
XYZxyz(74.6454, 86.5554, 71.7937)
Luminance0.8656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF7CF #E8CFF7
analogous
#F2F7CF #DEF7CF #CFF7D4
triadic
#DEF7CF #CFDEF7 #F7CFDE
tetradic
#DEF7CF #CFF2F7 #E8CFF7 #F7D4CF
square
#DEF7CF #CFF2F7 #E8CFF7 #F7D4CF
split-complementary
#DEF7CF #D4CFF7 #F7CFF2
monochromatic
#96E666 #BAEE9B #DEF7CF #EDFBE5 #EDFBE5

Accessibility & contrast

On white

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

On black

18.31
#DEF7CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF7CF
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF7CF#FFFFFF#000000##000000
##DEF7CF1.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF1CD
Deuteranopia (green-blind)
#F7EFD1
Tritanopia (blue-blind)
#DEF4EC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #def7cf;
/* rgb */ color: rgb(222, 247, 207);
/* oklch */ color: oklch(94.8% 0.059 133.7);
Tailwind
colors: {
  custom: {
    50: '#e8f9dd',
    500: '#def7cf',
    950: '#000000',
  },
}
SCSS
$custom: #def7cf;
$custom-light: #e8f9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#def7cf",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 207
  },
  "hsl": {
    "h": 97.5,
    "s": 71.429,
    "l": 89.02
  },
  "oklch": {
    "l": 0.94751,
    "c": 0.05897,
    "h": 133.7
  },
  "luminance": 0.86556
}

Semantic roles & 50–950 ramp

primary
#DEF7CF
secondary
#BE90DA
accent
#12D38B
background
#FEFFFE
surface
#FCFFFC
border
#D5D7D5
text
#161715
muted
#848584

Preview Lab

Preview with #DEF7CF

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

Preview Lab → · Contrast checker → · Palette generator →

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