#DEF6B7#DEF6B7

#DEF6B7 is a very light, moderate yellow-green. Relative luminance 0.849; OKLCH L 94.0% C 0.086 H 125.0°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#DEF6B7
RGBrgb(222, 246, 183)
HSLhsl(83, 78%, 84%)
HSVhsv(83, 26%, 96%)
CMYKcmyk(9.8%, 0%, 25.6%, 3.5%)
CIE-LABlab(93.82, -18.37, 27.79)
CIE-LCHlch(93.82, 33.31, 123.47°)
OKLaboklab(94.02% -0.0491 0.0703)
OKLCHoklch(94.02% 0.086 125)
XYZxyz(71.6262, 84.8598, 57.3967)
Luminance0.8486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF6B7 #CFB7F6
analogous
#F6EFB7 #DEF6B7 #BFF6B7
triadic
#DEF6B7 #B7DEF6 #F6B7DE
tetradic
#DEF6B7 #B7F6EF #CFB7F6 #F6B7BF
square
#DEF6B7 #B7F6EF #CFB7F6 #F6B7BF
split-complementary
#DEF6B7 #B7BFF6 #EFB7F6
monochromatic
#ACE84A #C5EF81 #DEF6B7 #F3FCE4 #F3FCE4

Accessibility & contrast

On white

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

On black

17.97
#DEF6B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF6B7
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF6B7#FFFFFF#000000##000000
##DEF6B71.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEEB3
Deuteranopia (green-blind)
#FAEDBA
Tritanopia (blue-blind)
#E2F0E5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def6b7;
/* rgb */ color: rgb(222, 246, 183);
/* oklch */ color: oklch(94.0% 0.086 125.0);
Tailwind
colors: {
  custom: {
    50: '#e8f9cd',
    500: '#def6b7',
    950: '#000000',
  },
}
SCSS
$custom: #def6b7;
$custom-light: #e8f9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#def6b7",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 183
  },
  "hsl": {
    "h": 82.857,
    "s": 77.778,
    "l": 84.118
  },
  "oklch": {
    "l": 0.9402,
    "c": 0.08576,
    "h": 125
  },
  "luminance": 0.8486
}

Semantic roles & 50–950 ramp

primary
#DEF6B7
secondary
#9D7AD8
accent
#0BDA5A
background
#FEFFFE
surface
#FDFFFA
border
#D5D7D3
text
#161713
muted
#848583

Preview Lab

Preview with #DEF6B7

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

Preview Lab → · Contrast checker → · Palette generator →

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