#DEF379#DEF379

#DEF379 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.4% C 0.149 H 117.5°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#DEF379
RGBrgb(222, 243, 121)
HSLhsl(70, 84%, 71%)
HSVhsv(70, 50%, 95%)
CMYKcmyk(8.6%, 0%, 50.2%, 4.7%)
CIE-LABlab(92.14, -24.18, 55.92)
CIE-LCHlch(92.14, 60.92, 113.38°)
OKLaboklab(92.38% -0.0689 0.1323)
OKLCHoklch(92.38% 0.149 117.5)
XYZxyz(65.6268, 81.0118, 30.2651)
Luminance0.8101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF379 #8E79F3
analogous
#F3CB79 #DEF379 #A1F379
triadic
#DEF379 #79DEF3 #F379DE
tetradic
#DEF379 #79F3CB #8E79F3 #F379A1
square
#DEF379 #79F3CB #8E79F3 #F379A1
split-complementary
#DEF379 #79A1F3 #CB79F3
monochromatic
#BBDE14 #D0EE41 #DEF379 #ECF8B1 #F8FCE3

Accessibility & contrast

On white

1.22
#DEF379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#DEF379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF379
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF379#FFFFFF#000000##000000
##DEF3791.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FFE980
Tritanopia (blue-blind)
#E9E8D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def379;
/* rgb */ color: rgb(222, 243, 121);
/* oklch */ color: oklch(92.4% 0.149 117.5);
Tailwind
colors: {
  custom: {
    50: '#eaf7a2',
    500: '#def379',
    950: '#000000',
  },
}
SCSS
$custom: #def379;
$custom-light: #eaf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#def379",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 121
  },
  "hsl": {
    "h": 70.328,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92382,
    "c": 0.14915,
    "h": 117.5
  },
  "luminance": 0.81011
}

Semantic roles & 50–950 ramp

primary
#DEF379
secondary
#5A43CE
accent
#06E02B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF379

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

Preview Lab → · Contrast checker → · Palette generator →

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