#DEF57E#DEF57E

#DEF57E is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.9% C 0.147 H 118.4°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#DEF57E
RGBrgb(222, 245, 126)
HSLhsl(72, 86%, 73%)
HSVhsv(72, 49%, 96%)
CMYKcmyk(9.4%, 0%, 48.6%, 3.9%)
CIE-LABlab(92.73, -24.67, 54.32)
CIE-LCHlch(92.73, 59.66, 114.43°)
OKLaboklab(92.87% -0.0698 0.1292)
OKLCHoklch(92.87% 0.147 118.4)
XYZxyz(66.5431, 82.3412, 32.1225)
Luminance0.8234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF57E #957EF5
analogous
#F5D17E #DEF57E #A2F57E
triadic
#DEF57E #7EDEF5 #F57EDE
tetradic
#DEF57E #7EF5D1 #957EF5 #F57EA2
square
#DEF57E #7EF5D1 #957EF5 #F57EA2
split-complementary
#DEF57E #7EA2F5 #D17EF5
monochromatic
#BEE712 #CFF145 #DEF57E #EDF9B7 #F8FDE3

Accessibility & contrast

On white

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

On black

17.47
#DEF57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF57E
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF57E#FFFFFF#000000##000000
##DEF57E1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA73
Deuteranopia (green-blind)
#FFEB85
Tritanopia (blue-blind)
#E8EADA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def57e;
/* rgb */ color: rgb(222, 245, 126);
/* oklch */ color: oklch(92.9% 0.147 118.4);
Tailwind
colors: {
  custom: {
    50: '#eaf8a6',
    500: '#def57e',
    950: '#000000',
  },
}
SCSS
$custom: #def57e;
$custom-light: #eaf8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#def57e",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 126
  },
  "hsl": {
    "h": 71.597,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92871,
    "c": 0.14685,
    "h": 118.4
  },
  "luminance": 0.82341
}

Semantic roles & 50–950 ramp

primary
#DEF57E
secondary
#6146D1
accent
#03E22E
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF57E

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

Preview Lab → · Contrast checker → · Palette generator →

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