#DEF29B#DEF29B

#DEF29B is a very light, moderate yellow-green. Relative luminance 0.814; OKLCH L 92.7% C 0.112 H 119.2°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#DEF29B
RGBrgb(222, 242, 155)
HSLhsl(74, 77%, 78%)
HSVhsv(74, 36%, 95%)
CMYKcmyk(8.3%, 0%, 36%, 5.1%)
CIE-LABlab(92.31, -20.12, 39.84)
CIE-LCHlch(92.31, 44.63, 116.79°)
OKLaboklab(92.66% -0.0549 0.0982)
OKLCHoklch(92.66% 0.112 119.2)
XYZxyz(67.7927, 81.4007, 43.1445)
Luminance0.8140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF29B #AF9BF2
analogous
#F2DA9B #DEF29B #B2F29B
triadic
#DEF29B #9BDEF2 #F29BDE
tetradic
#DEF29B #9BF2DA #AF9BF2 #F29BB2
square
#DEF29B #9BF2DA #AF9BF2 #F29BB2
split-complementary
#DEF29B #9BB2F2 #DA9BF2
monochromatic
#BAE42F #CCEB65 #DEF29B #F0F9D1 #F6FBE4

Accessibility & contrast

On white

1.22
#DEF29B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#DEF29B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF29B
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF29B#FFFFFF#000000##000000
##DEF29B1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE995
Deuteranopia (green-blind)
#FAE99F
Tritanopia (blue-blind)
#E6E9DC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def29b;
/* rgb */ color: rgb(222, 242, 155);
/* oklch */ color: oklch(92.7% 0.112 119.2);
Tailwind
colors: {
  custom: {
    50: '#e9f6b9',
    500: '#def29b',
    950: '#000000',
  },
}
SCSS
$custom: #def29b;
$custom-light: #e9f6b9;
$custom-dark: #000000;
JSON
{
  "hex": "#def29b",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 155
  },
  "hsl": {
    "h": 73.793,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92662,
    "c": 0.11247,
    "h": 119.2
  },
  "luminance": 0.814
}

Semantic roles & 50–950 ramp

primary
#DEF29B
secondary
#7B61D0
accent
#0CD93B
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF29B

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

Preview Lab → · Contrast checker → · Palette generator →

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