#DEF996#DEF996

#DEF996 is a very light, vivid yellow-green. Relative luminance 0.855; OKLCH L 94.1% C 0.127 H 121.3°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#DEF996
RGBrgb(222, 249, 150)
HSLhsl(76, 89%, 78%)
HSVhsv(76, 40%, 98%)
CMYKcmyk(10.8%, 0%, 39.8%, 2.4%)
CIE-LABlab(94.09, -24.06, 44.59)
CIE-LCHlch(94.09, 50.67, 118.36°)
OKLaboklab(94.06% -0.0663 0.1089)
OKLCHoklch(94.06% 0.127 121.3)
XYZxyz(69.5049, 85.4830, 41.6865)
Luminance0.8548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF996 #B196F9
analogous
#F9E396 #DEF996 #ACF996
triadic
#DEF996 #96DEF9 #F996DE
tetradic
#DEF996 #96F9E3 #B196F9 #F996AC
square
#DEF996 #96F9E3 #B196F9 #F996AC
split-complementary
#DEF996 #96ACF9 #E396F9
monochromatic
#BAF222 #CCF65C #DEF996 #F0FCD0 #F6FDE2

Accessibility & contrast

On white

1.16
#DEF996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#DEF996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF996
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF996#FFFFFF#000000##000000
##DEF9961.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8E
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#E6F0E1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def996;
/* rgb */ color: rgb(222, 249, 150);
/* oklch */ color: oklch(94.1% 0.127 121.3);
Tailwind
colors: {
  custom: {
    50: '#e9fbb6',
    500: '#def996',
    950: '#000000',
  },
}
SCSS
$custom: #def996;
$custom-light: #e9fbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#def996",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 150
  },
  "hsl": {
    "h": 76.364,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.94063,
    "c": 0.12747,
    "h": 121.3
  },
  "luminance": 0.85483
}

Semantic roles & 50–950 ramp

primary
#DEF996
secondary
#7D5AD9
accent
#00E63F
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF996

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

Preview Lab → · Contrast checker → · Palette generator →

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