#DEF571#DEF571

#DEF571 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.7% C 0.159 H 117.8°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#DEF571
RGBrgb(222, 245, 113)
HSLhsl(70, 87%, 70%)
HSVhsv(70, 54%, 96%)
CMYKcmyk(9.4%, 0%, 53.9%, 3.9%)
CIE-LABlab(92.59, -25.82, 60.05)
CIE-LCHlch(92.59, 65.37, 113.27°)
OKLaboklab(92.72% -0.0742 0.1405)
OKLCHoklch(92.72% 0.159 117.8)
XYZxyz(65.7582, 82.0272, 27.9883)
Luminance0.8203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF571 #8871F5
analogous
#F5CA71 #DEF571 #9CF571
triadic
#DEF571 #71DEF5 #F571DE
tetradic
#DEF571 #71F5CA #8871F5 #F5719C
square
#DEF571 #71F5CA #8871F5 #F5719C
split-complementary
#DEF571 #719CF5 #CA71F5
monochromatic
#B8DC10 #D1F138 #DEF571 #EBF9AA #F8FDE2

Accessibility & contrast

On white

1.21
#DEF571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#DEF571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF571
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF571#FFFFFF#000000##000000
##DEF5711.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#E9E9D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def571;
/* rgb */ color: rgb(222, 245, 113);
/* oklch */ color: oklch(92.7% 0.159 117.8);
Tailwind
colors: {
  custom: {
    50: '#ebf89d',
    500: '#def571',
    950: '#000000',
  },
}
SCSS
$custom: #def571;
$custom-light: #ebf89d;
$custom-dark: #000000;
JSON
{
  "hex": "#def571",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 70.455,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92715,
    "c": 0.15893,
    "h": 117.8
  },
  "luminance": 0.82027
}

Semantic roles & 50–950 ramp

primary
#DEF571
secondary
#553BCF
accent
#02E329
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF571

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

Preview Lab → · Contrast checker → · Palette generator →

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