#DEF28B#DEF28B

#DEF28B is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.4% C 0.130 H 118.0°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#DEF28B
RGBrgb(222, 242, 139)
HSLhsl(72, 80%, 75%)
HSVhsv(72, 43%, 95%)
CMYKcmyk(8.3%, 0%, 42.6%, 5.1%)
CIE-LABlab(92.09, -21.93, 47.38)
CIE-LCHlch(92.09, 52.21, 114.83°)
OKLaboklab(92.41% -0.061 0.1147)
OKLCHoklch(92.41% 0.13 118)
XYZxyz(66.5369, 80.8984, 36.5308)
Luminance0.8090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF28B #9F8BF2
analogous
#F2D28B #DEF28B #ABF28B
triadic
#DEF28B #8BDEF2 #F28BDE
tetradic
#DEF28B #8BF2D2 #9F8BF2 #F28BAB
square
#DEF28B #8BF2D2 #9F8BF2 #F28BAB
split-complementary
#DEF28B #8BABF2 #D28BF2
monochromatic
#BFE61D #CEEC54 #DEF28B #EEF8C2 #F7FCE3

Accessibility & contrast

On white

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

On black

17.18
#DEF28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF28B
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF28B#FFFFFF#000000##000000
##DEF28B1.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE883
Deuteranopia (green-blind)
#FCE990
Tritanopia (blue-blind)
#E7E8D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def28b;
/* rgb */ color: rgb(222, 242, 139);
/* oklch */ color: oklch(92.4% 0.130 118.0);
Tailwind
colors: {
  custom: {
    50: '#eaf6ae',
    500: '#def28b',
    950: '#000000',
  },
}
SCSS
$custom: #def28b;
$custom-light: #eaf6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#def28b",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 139
  },
  "hsl": {
    "h": 71.65,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92411,
    "c": 0.12987,
    "h": 118
  },
  "luminance": 0.80898
}

Semantic roles & 50–950 ramp

primary
#DEF28B
secondary
#6B53CE
accent
#09DC32
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF28B

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

Preview Lab → · Contrast checker → · Palette generator →

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