#DEF989#DEF989

#DEF989 is a very light, vivid yellow-green. Relative luminance 0.851; OKLCH L 93.9% C 0.141 H 120.3°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#DEF989
RGBrgb(222, 249, 137)
HSLhsl(74, 90%, 76%)
HSVhsv(74, 45%, 98%)
CMYKcmyk(10.8%, 0%, 45%, 2.4%)
CIE-LABlab(93.92, -25.48, 50.62)
CIE-LCHlch(93.92, 56.67, 116.72°)
OKLaboklab(93.87% -0.0712 0.1218)
OKLCHoklch(93.87% 0.141 120.3)
XYZxyz(68.5155, 85.0873, 36.4760)
Luminance0.8509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF989 #A489F9
analogous
#F9DC89 #DEF989 #A6F989
triadic
#DEF989 #89DEF9 #F989DE
tetradic
#DEF989 #89F9DC #A489F9 #F989A6
square
#DEF989 #89F9DC #A489F9 #F989A6
split-complementary
#DEF989 #89A6F9 #DC89F9
monochromatic
#BDF315 #CEF64F #DEF989 #EEFCC3 #F7FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF989#FFFFFF#000000##000000
##DEF9891.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)
#FFEE80
Deuteranopia (green-blind)
#FFEE8F
Tritanopia (blue-blind)
#E7EFDF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def989;
/* rgb */ color: rgb(222, 249, 137);
/* oklch */ color: oklch(93.9% 0.141 120.3);
Tailwind
colors: {
  custom: {
    50: '#eafbad',
    500: '#def989',
    950: '#000000',
  },
}
SCSS
$custom: #def989;
$custom-light: #eafbad;
$custom-dark: #000000;
JSON
{
  "hex": "#def989",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 74.464,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93871,
    "c": 0.14106,
    "h": 120.3
  },
  "luminance": 0.85087
}

Semantic roles & 50–950 ramp

primary
#DEF989
secondary
#704FD7
accent
#00E637
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF989

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

Preview Lab → · Contrast checker → · Palette generator →

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