#DEF89B#DEF89B

#DEF89B is a very light, vivid yellow-green. Relative luminance 0.850; OKLCH L 93.9% C 0.121 H 121.5°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#DEF89B
RGBrgb(222, 248, 155)
HSLhsl(77, 87%, 79%)
HSVhsv(77, 38%, 97%)
CMYKcmyk(10.5%, 0%, 37.5%, 2.7%)
CIE-LABlab(93.90, -23.00, 41.89)
CIE-LCHlch(93.90, 47.79, 118.77°)
OKLaboklab(93.93% -0.063 0.1029)
OKLCHoklch(93.93% 0.121 121.5)
XYZxyz(69.6078, 85.0310, 43.7495)
Luminance0.8503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF89B #B59BF8
analogous
#F8E49B #DEF89B #B0F89B
triadic
#DEF89B #9BDEF8 #F89BDE
tetradic
#DEF89B #9BF8E4 #B59BF8 #F89BB0
square
#DEF89B #9BF8E4 #B59BF8 #F89BB0
split-complementary
#DEF89B #9BB0F8 #E49BF8
monochromatic
#B8F029 #CBF462 #DEF89B #F1FCD4 #F6FDE2

Accessibility & contrast

On white

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

On black

18.01
#DEF89B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF89B
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF89B#FFFFFF#000000##000000
##DEF89B1.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE94
Deuteranopia (green-blind)
#FFEEA0
Tritanopia (blue-blind)
#E5EFE1
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def89b;
/* rgb */ color: rgb(222, 248, 155);
/* oklch */ color: oklch(93.9% 0.121 121.5);
Tailwind
colors: {
  custom: {
    50: '#e9fab9',
    500: '#def89b',
    950: '#000000',
  },
}
SCSS
$custom: #def89b;
$custom-light: #e9fab9;
$custom-dark: #000000;
JSON
{
  "hex": "#def89b",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 155
  },
  "hsl": {
    "h": 76.774,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.9393,
    "c": 0.12069,
    "h": 121.5
  },
  "luminance": 0.85031
}

Semantic roles & 50–950 ramp

primary
#DEF89B
secondary
#815FD8
accent
#02E341
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF89B

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

Preview Lab → · Contrast checker → · Palette generator →

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