#DEF89E#DEF89E

#DEF89E is a very light, moderate yellow-green. Relative luminance 0.851; OKLCH L 94.0% C 0.117 H 121.8°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#DEF89E
RGBrgb(222, 248, 158)
HSLhsl(77, 87%, 80%)
HSVhsv(77, 36%, 97%)
CMYKcmyk(10.5%, 0%, 36.3%, 2.7%)
CIE-LABlab(93.94, -22.64, 40.47)
CIE-LCHlch(93.94, 46.38, 119.22°)
OKLaboklab(93.98% -0.0619 0.0998)
OKLCHoklch(93.98% 0.117 121.8)
XYZxyz(69.8629, 85.1330, 45.0929)
Luminance0.8513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF89E #B89EF8
analogous
#F8E59E #DEF89E #B1F89E
triadic
#DEF89E #9EDEF8 #F89EDE
tetradic
#DEF89E #9EF8E5 #B89EF8 #F89EB1
square
#DEF89E #9EF8E5 #B89EF8 #F89EB1
split-complementary
#DEF89E #9EB1F8 #E59EF8
monochromatic
#B7F02C #CBF465 #DEF89E #F1FCD7 #F5FDE2

Accessibility & contrast

On white

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

On black

18.03
#DEF89E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF89E
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF89E#FFFFFF#000000##000000
##DEF89E1.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE97
Deuteranopia (green-blind)
#FFEEA2
Tritanopia (blue-blind)
#E5EFE1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def89e;
/* rgb */ color: rgb(222, 248, 158);
/* oklch */ color: oklch(94.0% 0.117 121.8);
Tailwind
colors: {
  custom: {
    50: '#e9fabb',
    500: '#def89e',
    950: '#000000',
  },
}
SCSS
$custom: #def89e;
$custom-light: #e9fabb;
$custom-dark: #000000;
JSON
{
  "hex": "#def89e",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 158
  },
  "hsl": {
    "h": 77.333,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.9398,
    "c": 0.11737,
    "h": 121.8
  },
  "luminance": 0.85133
}

Semantic roles & 50–950 ramp

primary
#DEF89E
secondary
#8462D8
accent
#02E343
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEF89E

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

Preview Lab → · Contrast checker → · Palette generator →

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