#DEFD79#DEFD79

#DEFD79 is a very light, vivid yellow-green. Relative luminance 0.872; OKLCH L 94.5% C 0.162 H 120.6°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#DEFD79
RGBrgb(222, 253, 121)
HSLhsl(74, 97%, 73%)
HSVhsv(74, 52%, 99%)
CMYKcmyk(12.3%, 0%, 52.2%, 0.8%)
CIE-LABlab(94.81, -28.89, 59.06)
CIE-LCHlch(94.81, 65.75, 116.06°)
OKLaboklab(94.52% -0.0821 0.1391)
OKLCHoklch(94.52% 0.162 120.6)
XYZxyz(68.7012, 87.1608, 31.2899)
Luminance0.8716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFD79 #9879FD
analogous
#FDDA79 #DEFD79 #9CFD79
triadic
#DEFD79 #79DEFD #FD79DE
tetradic
#DEFD79 #79FDDA #9879FD #FD799C
square
#DEFD79 #79FDDA #9879FD #FD799C
split-complementary
#DEFD79 #799CFD #DA79FD
monochromatic
#BFF804 #CFFC3D #DEFD79 #EDFEB5 #F8FFE1

Accessibility & contrast

On white

1.14
#DEFD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#DEFD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFD79
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFD79#FFFFFF#000000##000000
##DEFD791.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06C
Deuteranopia (green-blind)
#FFF081
Tritanopia (blue-blind)
#E8F2DF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defd79;
/* rgb */ color: rgb(222, 253, 121);
/* oklch */ color: oklch(94.5% 0.162 120.6);
Tailwind
colors: {
  custom: {
    50: '#eafea3',
    500: '#defd79',
    950: '#000000',
  },
}
SCSS
$custom: #defd79;
$custom-light: #eafea3;
$custom-dark: #000000;
JSON
{
  "hex": "#defd79",
  "rgb": {
    "r": 222,
    "g": 253,
    "b": 121
  },
  "hsl": {
    "h": 74.091,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94523,
    "c": 0.16157,
    "h": 120.6
  },
  "luminance": 0.87161
}

Semantic roles & 50–950 ramp

primary
#DEFD79
secondary
#6440DA
accent
#00E636
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFD79

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

Preview Lab → · Contrast checker → · Palette generator →

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