#DEF96F#DEF96F

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

Color values

HEX#DEF96F
RGBrgb(222, 249, 111)
HSLhsl(72, 92%, 71%)
HSVhsv(72, 55%, 98%)
CMYKcmyk(10.8%, 0%, 55.4%, 2.4%)
CIE-LABlab(93.64, -27.87, 62.13)
CIE-LCHlch(93.64, 68.10, 114.16°)
OKLaboklab(93.55% -0.0802 0.1448)
OKLCHoklch(93.55% 0.166 119)
XYZxyz(66.8700, 84.4291, 27.8095)
Luminance0.8443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF96F #8A6FF9
analogous
#F9CF6F #DEF96F #99F96F
triadic
#DEF96F #6FDEF9 #F96FDE
tetradic
#DEF96F #6FF9CF #8A6FF9 #F96F99
square
#DEF96F #6FF9CF #8A6FF9 #F96F99
split-complementary
#DEF96F #6F99F9 #CF6FF9
monochromatic
#B9E40A #D1F734 #DEF96F #EBFBAA #F8FEE2

Accessibility & contrast

On white

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

On black

17.89
#DEF96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF96F
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF96F#FFFFFF#000000##000000
##DEF96F1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def96f;
/* rgb */ color: rgb(222, 249, 111);
/* oklch */ color: oklch(93.6% 0.166 119.0);
Tailwind
colors: {
  custom: {
    50: '#ebfb9c',
    500: '#def96f',
    950: '#000000',
  },
}
SCSS
$custom: #def96f;
$custom-light: #ebfb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#def96f",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 71.739,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93551,
    "c": 0.16553,
    "h": 119
  },
  "luminance": 0.84429
}

Semantic roles & 50–950 ramp

primary
#DEF96F
secondary
#5738D4
accent
#00E62D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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