#DEF96A#DEF96A

#DEF96A is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.5% C 0.170 H 118.8°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#DEF96A
RGBrgb(222, 249, 106)
HSLhsl(71, 92%, 70%)
HSVhsv(71, 57%, 98%)
CMYKcmyk(10.8%, 0%, 57.4%, 2.4%)
CIE-LABlab(93.59, -28.26, 64.24)
CIE-LCHlch(93.59, 70.18, 113.75°)
OKLaboklab(93.5% -0.0817 0.1488)
OKLCHoklch(93.5% 0.17 118.8)
XYZxyz(66.6024, 84.3220, 26.4000)
Luminance0.8432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF96A #856AF9
analogous
#F9CD6A #DEF96A #96F96A
triadic
#DEF96A #6ADEF9 #F96ADE
tetradic
#DEF96A #6AF9CD #856AF9 #F96A96
square
#DEF96A #6AF9CD #856AF9 #F96A96
split-complementary
#DEF96A #6A96F9 #CD6AF9
monochromatic
#B7E009 #D1F72F #DEF96A #EBFBA5 #F8FEE0

Accessibility & contrast

On white

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

On black

17.86
#DEF96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF96A
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF96A#FFFFFF#000000##000000
##DEF96A1.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5A
Deuteranopia (green-blind)
#FFED73
Tritanopia (blue-blind)
#E9EDDA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def96a;
/* rgb */ color: rgb(222, 249, 106);
/* oklch */ color: oklch(93.5% 0.170 118.8);
Tailwind
colors: {
  custom: {
    50: '#ebfb99',
    500: '#def96a',
    950: '#000000',
  },
}
SCSS
$custom: #def96a;
$custom-light: #ebfb99;
$custom-dark: #000000;
JSON
{
  "hex": "#def96a",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 106
  },
  "hsl": {
    "h": 71.329,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93499,
    "c": 0.16975,
    "h": 118.8
  },
  "luminance": 0.84322
}

Semantic roles & 50–950 ramp

primary
#DEF96A
secondary
#5234D3
accent
#00E62B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF96A

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

Preview Lab → · Contrast checker → · Palette generator →

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