#DEF889#DEF889

#DEF889 is a very light, vivid yellow-green. Relative luminance 0.845; OKLCH L 93.7% C 0.140 H 120.0°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#DEF889
RGBrgb(222, 248, 137)
HSLhsl(74, 89%, 75%)
HSVhsv(74, 45%, 97%)
CMYKcmyk(10.5%, 0%, 44.8%, 2.7%)
CIE-LABlab(93.65, -25.00, 50.29)
CIE-LCHlch(93.65, 56.16, 116.44°)
OKLaboklab(93.66% -0.0699 0.121)
OKLCHoklch(93.66% 0.14 120)
XYZxyz(68.2073, 84.4708, 36.3733)
Luminance0.8447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF889 #A389F8
analogous
#F8DA89 #DEF889 #A6F889
triadic
#DEF889 #89DEF8 #F889DE
tetradic
#DEF889 #89F8DA #A389F8 #F889A6
square
#DEF889 #89F8DA #A389F8 #F889A6
split-complementary
#DEF889 #89A6F8 #DA89F8
monochromatic
#BEF115 #CEF54F #DEF889 #EEFBC3 #F7FDE2

Accessibility & contrast

On white

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

On black

17.89
#DEF889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF889
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF889#FFFFFF#000000##000000
##DEF8891.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED80
Deuteranopia (green-blind)
#FFED8F
Tritanopia (blue-blind)
#E7EEDE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def889;
/* rgb */ color: rgb(222, 248, 137);
/* oklch */ color: oklch(93.7% 0.140 120.0);
Tailwind
colors: {
  custom: {
    50: '#eafaad',
    500: '#def889',
    950: '#000000',
  },
}
SCSS
$custom: #def889;
$custom-light: #eafaad;
$custom-dark: #000000;
JSON
{
  "hex": "#def889",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 137
  },
  "hsl": {
    "h": 74.054,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93658,
    "c": 0.13975,
    "h": 120
  },
  "luminance": 0.84471
}

Semantic roles & 50–950 ramp

primary
#DEF889
secondary
#6F4FD6
accent
#00E536
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF889

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

Preview Lab → · Contrast checker → · Palette generator →

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