#DEF57A#DEF57A

#DEF57A is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.8% C 0.151 H 118.2°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#DEF57A
RGBrgb(222, 245, 122)
HSLhsl(71, 86%, 72%)
HSVhsv(71, 50%, 96%)
CMYKcmyk(9.4%, 0%, 50.2%, 3.9%)
CIE-LABlab(92.68, -25.04, 56.11)
CIE-LCHlch(92.68, 61.44, 114.05°)
OKLaboklab(92.82% -0.0712 0.1328)
OKLCHoklch(92.82% 0.151 118.2)
XYZxyz(66.2902, 82.2400, 30.7903)
Luminance0.8224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF57A #917AF5
analogous
#F5CF7A #DEF57A #A0F57A
triadic
#DEF57A #7ADEF5 #F57ADE
tetradic
#DEF57A #7AF5CF #917AF5 #F57AA0
square
#DEF57A #7AF5CF #917AF5 #F57AA0
split-complementary
#DEF57A #7AA0F5 #CF7AF5
monochromatic
#BCE311 #D0F141 #DEF57A #ECF9B3 #F8FDE3

Accessibility & contrast

On white

1.20
#DEF57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#DEF57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF57A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF57A#FFFFFF#000000##000000
##DEF57A1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#E9EAD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def57a;
/* rgb */ color: rgb(222, 245, 122);
/* oklch */ color: oklch(92.8% 0.151 118.2);
Tailwind
colors: {
  custom: {
    50: '#eaf8a3',
    500: '#def57a',
    950: '#000000',
  },
}
SCSS
$custom: #def57a;
$custom-light: #eaf8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#def57a",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 71.22,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92821,
    "c": 0.15067,
    "h": 118.2
  },
  "luminance": 0.8224
}

Semantic roles & 50–950 ramp

primary
#DEF57A
secondary
#5D43D0
accent
#03E32D
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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