#DEF96E#DEF96E

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

Color values

HEX#DEF96E
RGBrgb(222, 249, 110)
HSLhsl(72, 92%, 70%)
HSVhsv(72, 56%, 98%)
CMYKcmyk(10.8%, 0%, 55.8%, 2.4%)
CIE-LABlab(93.63, -27.95, 62.56)
CIE-LCHlch(93.63, 68.52, 114.08°)
OKLaboklab(93.54% -0.0805 0.1456)
OKLCHoklch(93.54% 0.166 118.9)
XYZxyz(66.8152, 84.4072, 27.5212)
Luminance0.8441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF96E #896EF9
analogous
#F9CF6E #DEF96E #98F96E
triadic
#DEF96E #6EDEF9 #F96EDE
tetradic
#DEF96E #6EF9CF #896EF9 #F96E98
square
#DEF96E #6EF9CF #896EF9 #F96E98
split-complementary
#DEF96E #6E98F9 #CF6EF9
monochromatic
#B9E309 #D1F733 #DEF96E #EBFBA9 #F8FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF96E#FFFFFF#000000##000000
##DEF96E1.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)
#FFED5F
Deuteranopia (green-blind)
#FFED77
Tritanopia (blue-blind)
#E9EDDB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def96e;
/* rgb */ color: rgb(222, 249, 110);
/* oklch */ color: oklch(93.5% 0.166 118.9);
Tailwind
colors: {
  custom: {
    50: '#ebfb9c',
    500: '#def96e',
    950: '#000000',
  },
}
SCSS
$custom: #def96e;
$custom-light: #ebfb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#def96e",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 110
  },
  "hsl": {
    "h": 71.655,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93541,
    "c": 0.16638,
    "h": 118.9
  },
  "luminance": 0.84407
}

Semantic roles & 50–950 ramp

primary
#DEF96E
secondary
#5637D4
accent
#00E62D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF96E

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

Preview Lab → · Contrast checker → · Palette generator →

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