#DEF579#DEF579

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

Color values

HEX#DEF579
RGBrgb(222, 245, 121)
HSLhsl(71, 86%, 72%)
HSVhsv(71, 51%, 96%)
CMYKcmyk(9.4%, 0%, 50.6%, 3.9%)
CIE-LABlab(92.67, -25.13, 56.55)
CIE-LCHlch(92.67, 61.88, 113.96°)
OKLaboklab(92.81% -0.0715 0.1337)
OKLCHoklch(92.81% 0.152 118.2)
XYZxyz(66.2285, 82.2154, 30.4656)
Luminance0.8222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF579 #9079F5
analogous
#F5CE79 #DEF579 #A0F579
triadic
#DEF579 #79DEF5 #F579DE
tetradic
#DEF579 #79F5CE #9079F5 #F579A0
square
#DEF579 #79F5CE #9079F5 #F579A0
split-complementary
#DEF579 #79A0F5 #CE79F5
monochromatic
#BCE311 #D0F140 #DEF579 #ECF9B2 #F8FDE3

Accessibility & contrast

On white

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

On black

17.44
#DEF579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF579
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF579#FFFFFF#000000##000000
##DEF5791.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def579;
/* rgb */ color: rgb(222, 245, 121);
/* oklch */ color: oklch(92.8% 0.152 118.2);
Tailwind
colors: {
  custom: {
    50: '#eaf8a3',
    500: '#def579',
    950: '#000000',
  },
}
SCSS
$custom: #def579;
$custom-light: #eaf8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#def579",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 71.129,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92809,
    "c": 0.15161,
    "h": 118.2
  },
  "luminance": 0.82215
}

Semantic roles & 50–950 ramp

primary
#DEF579
secondary
#5C42D0
accent
#03E32C
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF579

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

Preview Lab → · Contrast checker → · Palette generator →

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