#DEF296#DEF296

#DEF296 is a very light, moderate yellow-green. Relative luminance 0.812; OKLCH L 92.6% C 0.118 H 118.8°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#DEF296
RGBrgb(222, 242, 150)
HSLhsl(73, 78%, 77%)
HSVhsv(73, 38%, 95%)
CMYKcmyk(8.3%, 0%, 38%, 5.1%)
CIE-LABlab(92.24, -20.71, 42.22)
CIE-LCHlch(92.24, 47.02, 116.13°)
OKLaboklab(92.58% -0.0568 0.1035)
OKLCHoklch(92.58% 0.118 118.8)
XYZxyz(67.3814, 81.2362, 40.9787)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF296 #AA96F2
analogous
#F2D896 #DEF296 #B0F296
triadic
#DEF296 #96DEF2 #F296DE
tetradic
#DEF296 #96F2D8 #AA96F2 #F296B0
square
#DEF296 #96F2D8 #AA96F2 #F296B0
split-complementary
#DEF296 #96B0F2 #D896F2
monochromatic
#BCE529 #CDEB60 #DEF296 #EFF9CC #F6FCE4

Accessibility & contrast

On white

1.22
#DEF296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#DEF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF296
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF296#FFFFFF#000000##000000
##DEF2961.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE98F
Deuteranopia (green-blind)
#FBE99A
Tritanopia (blue-blind)
#E6E9DB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def296;
/* rgb */ color: rgb(222, 242, 150);
/* oklch */ color: oklch(92.6% 0.118 118.8);
Tailwind
colors: {
  custom: {
    50: '#e9f6b6',
    500: '#def296',
    950: '#000000',
  },
}
SCSS
$custom: #def296;
$custom-light: #e9f6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#def296",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 73.043,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9258,
    "c": 0.11803,
    "h": 118.8
  },
  "luminance": 0.81236
}

Semantic roles & 50–950 ramp

primary
#DEF296
secondary
#765DCF
accent
#0BDA38
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF296

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

Preview Lab → · Contrast checker → · Palette generator →

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