#DEF396#DEF396

#DEF396 is a very light, moderate yellow-green. Relative luminance 0.818; OKLCH L 92.8% C 0.119 H 119.2°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#DEF396
RGBrgb(222, 243, 150)
HSLhsl(74, 79%, 77%)
HSVhsv(74, 38%, 95%)
CMYKcmyk(8.6%, 0%, 38.3%, 4.7%)
CIE-LABlab(92.50, -21.19, 42.56)
CIE-LCHlch(92.50, 47.54, 116.47°)
OKLaboklab(92.79% -0.0582 0.1042)
OKLCHoklch(92.79% 0.119 119.2)
XYZxyz(67.6799, 81.8331, 41.0781)
Luminance0.8183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF396 #AB96F3
analogous
#F3D996 #DEF396 #B0F396
triadic
#DEF396 #96DEF3 #F396DE
tetradic
#DEF396 #96F3D9 #AB96F3 #F396B0
square
#DEF396 #96F3D9 #AB96F3 #F396B0
split-complementary
#DEF396 #96B0F3 #D996F3
monochromatic
#BBE628 #CDED5F #DEF396 #EFF9CD #F6FCE4

Accessibility & contrast

On white

1.21
#DEF396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#DEF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF396
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF396#FFFFFF#000000##000000
##DEF3961.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98F
Deuteranopia (green-blind)
#FCEA9A
Tritanopia (blue-blind)
#E6EADC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def396;
/* rgb */ color: rgb(222, 243, 150);
/* oklch */ color: oklch(92.8% 0.119 119.2);
Tailwind
colors: {
  custom: {
    50: '#e9f7b6',
    500: '#def396',
    950: '#000000',
  },
}
SCSS
$custom: #def396;
$custom-light: #e9f7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#def396",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 73.548,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92792,
    "c": 0.11937,
    "h": 119.2
  },
  "luminance": 0.81833
}

Semantic roles & 50–950 ramp

primary
#DEF396
secondary
#775DD1
accent
#0ADC39
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF396

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

Preview Lab → · Contrast checker → · Palette generator →

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