#DEF28E#DEF28E

#DEF28E is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.5% C 0.127 H 118.2°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#DEF28E
RGBrgb(222, 242, 142)
HSLhsl(72, 79%, 75%)
HSVhsv(72, 41%, 95%)
CMYKcmyk(8.3%, 0%, 41.3%, 5.1%)
CIE-LABlab(92.13, -21.61, 45.98)
CIE-LCHlch(92.13, 50.81, 115.17°)
OKLaboklab(92.46% -0.0599 0.1117)
OKLCHoklch(92.46% 0.127 118.2)
XYZxyz(66.7591, 80.9873, 37.7011)
Luminance0.8099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF28E #A28EF2
analogous
#F2D48E #DEF28E #ACF28E
triadic
#DEF28E #8EDEF2 #F28EDE
tetradic
#DEF28E #8EF2D4 #A28EF2 #F28EAC
square
#DEF28E #8EF2D4 #A28EF2 #F28EAC
split-complementary
#DEF28E #8EACF2 #D48EF2
monochromatic
#BEE520 #CEEC57 #DEF28E #EEF8C5 #F7FCE4

Accessibility & contrast

On white

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

On black

17.20
#DEF28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF28E
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF28E#FFFFFF#000000##000000
##DEF28E1.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def28e;
/* rgb */ color: rgb(222, 242, 142);
/* oklch */ color: oklch(92.5% 0.127 118.2);
Tailwind
colors: {
  custom: {
    50: '#e9f6b0',
    500: '#def28e',
    950: '#000000',
  },
}
SCSS
$custom: #def28e;
$custom-light: #e9f6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def28e",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 142
  },
  "hsl": {
    "h": 72,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92456,
    "c": 0.1267,
    "h": 118.2
  },
  "luminance": 0.80987
}

Semantic roles & 50–950 ramp

primary
#DEF28E
secondary
#6E56CF
accent
#0ADC34
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161711
muted
#848581

Preview Lab

Preview with #DEF28E

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

Preview Lab → · Contrast checker → · Palette generator →

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