#DEF479#DEF479

#DEF479 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.6% C 0.150 H 117.8°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#DEF479
RGBrgb(222, 244, 121)
HSLhsl(71, 85%, 72%)
HSVhsv(71, 50%, 96%)
CMYKcmyk(9%, 0%, 50.4%, 4.3%)
CIE-LABlab(92.40, -24.66, 56.23)
CIE-LCHlch(92.40, 61.40, 113.67°)
OKLaboklab(92.6% -0.0702 0.133)
OKLCHoklch(92.6% 0.15 117.8)
XYZxyz(65.9268, 81.6120, 30.3651)
Luminance0.8161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF479 #8F79F4
analogous
#F4CD79 #DEF479 #A1F479
triadic
#DEF479 #79DEF4 #F479DE
tetradic
#DEF479 #79F4CD #8F79F4 #F479A1
square
#DEF479 #79F4CD #8F79F4 #F479A1
split-complementary
#DEF479 #79A1F4 #CD79F4
monochromatic
#BBE012 #D0EF40 #DEF479 #ECF9B2 #F8FDE3

Accessibility & contrast

On white

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

On black

17.32
#DEF479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF479
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF479#FFFFFF#000000##000000
##DEF4791.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96E
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#E9E9D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def479;
/* rgb */ color: rgb(222, 244, 121);
/* oklch */ color: oklch(92.6% 0.150 117.8);
Tailwind
colors: {
  custom: {
    50: '#eaf7a3',
    500: '#def479',
    950: '#000000',
  },
}
SCSS
$custom: #def479;
$custom-light: #eaf7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#def479",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 121
  },
  "hsl": {
    "h": 70.732,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92595,
    "c": 0.15039,
    "h": 117.8
  },
  "luminance": 0.81611
}

Semantic roles & 50–950 ramp

primary
#DEF479
secondary
#5B42CF
accent
#04E12C
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF479

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

Preview Lab → · Contrast checker → · Palette generator →

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