#DEF57D#DEF57D

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

Color values

HEX#DEF57D
RGBrgb(222, 245, 125)
HSLhsl(72, 86%, 73%)
HSVhsv(72, 49%, 96%)
CMYKcmyk(9.4%, 0%, 49%, 3.9%)
CIE-LABlab(92.71, -24.76, 54.77)
CIE-LCHlch(92.71, 60.10, 114.33°)
OKLaboklab(92.86% -0.0702 0.1301)
OKLCHoklch(92.86% 0.148 118.3)
XYZxyz(66.4789, 82.3155, 31.7844)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF57D #947DF5
analogous
#F5D07D #DEF57D #A2F57D
triadic
#DEF57D #7DDEF5 #F57DDE
tetradic
#DEF57D #7DF5D0 #947DF5 #F57DA2
square
#DEF57D #7DF5D0 #947DF5 #F57DA2
split-complementary
#DEF57D #7DA2F5 #D07DF5
monochromatic
#BDE612 #D0F144 #DEF57D #ECF9B6 #F8FDE3

Accessibility & contrast

On white

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

On black

17.46
#DEF57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF57D
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF57D#FFFFFF#000000##000000
##DEF57D1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA72
Deuteranopia (green-blind)
#FFEB84
Tritanopia (blue-blind)
#E8EAD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def57d;
/* rgb */ color: rgb(222, 245, 125);
/* oklch */ color: oklch(92.9% 0.148 118.3);
Tailwind
colors: {
  custom: {
    50: '#eaf8a5',
    500: '#def57d',
    950: '#000000',
  },
}
SCSS
$custom: #def57d;
$custom-light: #eaf8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#def57d",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 71.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92858,
    "c": 0.14781,
    "h": 118.3
  },
  "luminance": 0.82315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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