#DEF89D#DEF89D

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

Color values

HEX#DEF89D
RGBrgb(222, 248, 157)
HSLhsl(77, 87%, 79%)
HSVhsv(77, 37%, 97%)
CMYKcmyk(10.5%, 0%, 36.7%, 2.7%)
CIE-LABlab(93.93, -22.76, 40.95)
CIE-LCHlch(93.93, 46.85, 119.07°)
OKLaboklab(93.96% -0.0622 0.1008)
OKLCHoklch(93.96% 0.118 121.7)
XYZxyz(69.7772, 85.0987, 44.6414)
Luminance0.8510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF89D #B79DF8
analogous
#F8E59D #DEF89D #B1F89D
triadic
#DEF89D #9DDEF8 #F89DDE
tetradic
#DEF89D #9DF8E5 #B79DF8 #F89DB1
square
#DEF89D #9DF8E5 #B79DF8 #F89DB1
split-complementary
#DEF89D #9DB1F8 #E59DF8
monochromatic
#B8F02B #CBF464 #DEF89D #F1FCD6 #F5FDE2

Accessibility & contrast

On white

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

On black

18.02
#DEF89D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF89D
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF89D#FFFFFF#000000##000000
##DEF89D1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def89d;
/* rgb */ color: rgb(222, 248, 157);
/* oklch */ color: oklch(94.0% 0.118 121.7);
Tailwind
colors: {
  custom: {
    50: '#e9fabb',
    500: '#def89d',
    950: '#000000',
  },
}
SCSS
$custom: #def89d;
$custom-light: #e9fabb;
$custom-dark: #000000;
JSON
{
  "hex": "#def89d",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 157
  },
  "hsl": {
    "h": 77.143,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93963,
    "c": 0.11848,
    "h": 121.7
  },
  "luminance": 0.85099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF89D

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

Preview Lab → · Contrast checker → · Palette generator →

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