#DEF879#DEF879

#DEF879 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.5% C 0.155 H 119.1°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#DEF879
RGBrgb(222, 248, 121)
HSLhsl(72, 90%, 72%)
HSVhsv(72, 51%, 97%)
CMYKcmyk(10.5%, 0%, 51.2%, 2.7%)
CIE-LABlab(93.47, -26.55, 57.49)
CIE-LCHlch(93.47, 63.33, 114.78°)
OKLaboklab(93.45% -0.0755 0.1357)
OKLCHoklch(93.45% 0.155 119.1)
XYZxyz(67.1435, 84.0452, 30.7706)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF879 #9379F8
analogous
#F8D279 #DEF879 #9FF879
triadic
#DEF879 #79DEF8 #F879DE
tetradic
#DEF879 #79F8D2 #9379F8 #F8799F
square
#DEF879 #79F8D2 #9379F8 #F8799F
split-complementary
#DEF879 #799FF8 #D279F8
monochromatic
#BDEA0C #D0F53F #DEF879 #ECFBB3 #F8FDE2

Accessibility & contrast

On white

1.18
#DEF879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#DEF879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF879
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF879#FFFFFF#000000##000000
##DEF8791.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6D
Deuteranopia (green-blind)
#FFED80
Tritanopia (blue-blind)
#E8EDDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def879;
/* rgb */ color: rgb(222, 248, 121);
/* oklch */ color: oklch(93.5% 0.155 119.1);
Tailwind
colors: {
  custom: {
    50: '#eafaa3',
    500: '#def879',
    950: '#000000',
  },
}
SCSS
$custom: #def879;
$custom-light: #eafaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#def879",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 72.283,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9345,
    "c": 0.15533,
    "h": 119.1
  },
  "luminance": 0.84045
}

Semantic roles & 50–950 ramp

primary
#DEF879
secondary
#5F41D4
accent
#00E62F
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF879

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

Preview Lab → · Contrast checker → · Palette generator →

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