#DEF89F#DEF89F

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

Color values

HEX#DEF89F
RGBrgb(222, 248, 159)
HSLhsl(78, 86%, 80%)
HSVhsv(78, 36%, 97%)
CMYKcmyk(10.5%, 0%, 35.9%, 2.7%)
CIE-LABlab(93.96, -22.52, 40.00)
CIE-LCHlch(93.96, 45.90, 119.38°)
OKLaboklab(94% -0.0615 0.0987)
OKLCHoklch(94% 0.116 121.9)
XYZxyz(69.9493, 85.1676, 45.5481)
Luminance0.8517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF89F #B99FF8
analogous
#F8E69F #DEF89F #B2F89F
triadic
#DEF89F #9FDEF8 #F89FDE
tetradic
#DEF89F #9FF8E6 #B99FF8 #F89FB2
square
#DEF89F #9FF8E6 #B99FF8 #F89FB2
split-complementary
#DEF89F #9FB2F8 #E69FF8
monochromatic
#B7F02D #CAF466 #DEF89F #F2FCD8 #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF89F#FFFFFF#000000##000000
##DEF89F1.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)
#FFEE99
Deuteranopia (green-blind)
#FFEEA3
Tritanopia (blue-blind)
#E5F0E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def89f;
/* rgb */ color: rgb(222, 248, 159);
/* oklch */ color: oklch(94.0% 0.116 121.9);
Tailwind
colors: {
  custom: {
    50: '#e9fabc',
    500: '#def89f',
    950: '#000000',
  },
}
SCSS
$custom: #def89f;
$custom-light: #e9fabc;
$custom-dark: #000000;
JSON
{
  "hex": "#def89f",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 159
  },
  "hsl": {
    "h": 77.528,
    "s": 86.408,
    "l": 79.804
  },
  "oklch": {
    "l": 0.93996,
    "c": 0.11627,
    "h": 121.9
  },
  "luminance": 0.85168
}

Semantic roles & 50–950 ramp

primary
#DEF89F
secondary
#8563D9
accent
#03E344
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEF89F

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

Preview Lab → · Contrast checker → · Palette generator →

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