#DEF39B#DEF39B

#DEF39B is a very light, moderate yellow-green. Relative luminance 0.820; OKLCH L 92.9% C 0.114 H 119.6°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#DEF39B
RGBrgb(222, 243, 155)
HSLhsl(74, 79%, 78%)
HSVhsv(74, 36%, 95%)
CMYKcmyk(8.6%, 0%, 36.2%, 4.7%)
CIE-LABlab(92.57, -20.60, 40.18)
CIE-LCHlch(92.57, 45.16, 117.14°)
OKLaboklab(92.87% -0.0562 0.099)
OKLCHoklch(92.87% 0.114 119.6)
XYZxyz(68.0911, 81.9976, 43.2440)
Luminance0.8200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF39B #B09BF3
analogous
#F3DC9B #DEF39B #B2F39B
triadic
#DEF39B #9BDEF3 #F39BDE
tetradic
#DEF39B #9BF3DC #B09BF3 #F39BB2
square
#DEF39B #9BF3DC #B09BF3 #F39BB2
split-complementary
#DEF39B #9BB2F3 #DC9BF3
monochromatic
#BAE62E #CCEC64 #DEF39B #F0FAD2 #F6FCE4

Accessibility & contrast

On white

1.21
#DEF39B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#DEF39B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF39B
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF39B#FFFFFF#000000##000000
##DEF39B1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA95
Deuteranopia (green-blind)
#FBEA9F
Tritanopia (blue-blind)
#E6EADD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def39b;
/* rgb */ color: rgb(222, 243, 155);
/* oklch */ color: oklch(92.9% 0.114 119.6);
Tailwind
colors: {
  custom: {
    50: '#e9f7b9',
    500: '#def39b',
    950: '#000000',
  },
}
SCSS
$custom: #def39b;
$custom-light: #e9f7b9;
$custom-dark: #000000;
JSON
{
  "hex": "#def39b",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 155
  },
  "hsl": {
    "h": 74.318,
    "s": 78.571,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92873,
    "c": 0.11383,
    "h": 119.6
  },
  "luminance": 0.81997
}

Semantic roles & 50–950 ramp

primary
#DEF39B
secondary
#7C61D1
accent
#0BDB3C
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF39B

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

Preview Lab → · Contrast checker → · Palette generator →

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