#DEF96D#DEF96D

#DEF96D is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.5% C 0.167 H 118.9°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#DEF96D
RGBrgb(222, 249, 109)
HSLhsl(72, 92%, 70%)
HSVhsv(72, 56%, 98%)
CMYKcmyk(10.8%, 0%, 56.2%, 2.4%)
CIE-LABlab(93.62, -28.03, 62.98)
CIE-LCHlch(93.62, 68.94, 113.99°)
OKLaboklab(93.53% -0.0808 0.1464)
OKLCHoklch(93.53% 0.167 118.9)
XYZxyz(66.7611, 84.3855, 27.2360)
Luminance0.8438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF96D #886DF9
analogous
#F9CE6D #DEF96D #98F96D
triadic
#DEF96D #6DDEF9 #F96DDE
tetradic
#DEF96D #6DF9CE #886DF9 #F96D98
square
#DEF96D #6DF9CE #886DF9 #F96D98
split-complementary
#DEF96D #6D98F9 #CE6DF9
monochromatic
#B8E209 #D1F732 #DEF96D #EBFBA8 #F8FEE2

Accessibility & contrast

On white

1.17
#DEF96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#DEF96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF96D
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF96D#FFFFFF#000000##000000
##DEF96D1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5E
Deuteranopia (green-blind)
#FFED76
Tritanopia (blue-blind)
#E9EDDB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def96d;
/* rgb */ color: rgb(222, 249, 109);
/* oklch */ color: oklch(93.5% 0.167 118.9);
Tailwind
colors: {
  custom: {
    50: '#ebfb9b',
    500: '#def96d',
    950: '#000000',
  },
}
SCSS
$custom: #def96d;
$custom-light: #ebfb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#def96d",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 71.571,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9353,
    "c": 0.16723,
    "h": 118.9
  },
  "luminance": 0.84385
}

Semantic roles & 50–950 ramp

primary
#DEF96D
secondary
#5537D4
accent
#00E62C
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF96D

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

Preview Lab → · Contrast checker → · Palette generator →

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