#DEF28D#DEF28D

#DEF28D is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.4% C 0.128 H 118.1°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#DEF28D
RGBrgb(222, 242, 141)
HSLhsl(72, 80%, 75%)
HSVhsv(72, 42%, 95%)
CMYKcmyk(8.3%, 0%, 41.7%, 5.1%)
CIE-LABlab(92.11, -21.71, 46.45)
CIE-LCHlch(92.11, 51.28, 115.05°)
OKLaboklab(92.44% -0.0603 0.1127)
OKLCHoklch(92.44% 0.128 118.1)
XYZxyz(66.6844, 80.9574, 37.3075)
Luminance0.8096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF28D #A18DF2
analogous
#F2D38D #DEF28D #ACF28D
triadic
#DEF28D #8DDEF2 #F28DDE
tetradic
#DEF28D #8DF2D3 #A18DF2 #F28DAC
square
#DEF28D #8DF2D3 #A18DF2 #F28DAC
split-complementary
#DEF28D #8DACF2 #D38DF2
monochromatic
#BEE51F #CEEC56 #DEF28D #EEF8C4 #F7FCE4

Accessibility & contrast

On white

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

On black

17.19
#DEF28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF28D
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF28D#FFFFFF#000000##000000
##DEF28D1.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE885
Deuteranopia (green-blind)
#FCE992
Tritanopia (blue-blind)
#E7E8DA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def28d;
/* rgb */ color: rgb(222, 242, 141);
/* oklch */ color: oklch(92.4% 0.128 118.1);
Tailwind
colors: {
  custom: {
    50: '#e9f6b0',
    500: '#def28d',
    950: '#000000',
  },
}
SCSS
$custom: #def28d;
$custom-light: #e9f6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def28d",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 141
  },
  "hsl": {
    "h": 71.881,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92441,
    "c": 0.12776,
    "h": 118.1
  },
  "luminance": 0.80957
}

Semantic roles & 50–950 ramp

primary
#DEF28D
secondary
#6D55CF
accent
#0ADC33
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF28D

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

Preview Lab → · Contrast checker → · Palette generator →

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