#DEF299#DEF299

#DEF299 is a very light, moderate yellow-green. Relative luminance 0.813; OKLCH L 92.6% C 0.115 H 119.0°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#DEF299
RGBrgb(222, 242, 153)
HSLhsl(73, 77%, 77%)
HSVhsv(73, 37%, 95%)
CMYKcmyk(8.3%, 0%, 36.8%, 5.1%)
CIE-LABlab(92.28, -20.35, 40.79)
CIE-LCHlch(92.28, 45.59, 116.52°)
OKLaboklab(92.63% -0.0556 0.1003)
OKLCHoklch(92.63% 0.115 119)
XYZxyz(67.6261, 81.3340, 42.2672)
Luminance0.8133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF299 #AD99F2
analogous
#F2D999 #DEF299 #B2F299
triadic
#DEF299 #99DEF2 #F299DE
tetradic
#DEF299 #99F2D9 #AD99F2 #F299B2
square
#DEF299 #99F2D9 #AD99F2 #F299B2
split-complementary
#DEF299 #99B2F2 #D999F2
monochromatic
#BBE42C #CCEB63 #DEF299 #F0F9CF #F6FCE4

Accessibility & contrast

On white

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

On black

17.27
#DEF299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF299
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF299#FFFFFF#000000##000000
##DEF2991.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE992
Deuteranopia (green-blind)
#FAE99D
Tritanopia (blue-blind)
#E6E9DC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def299;
/* rgb */ color: rgb(222, 242, 153);
/* oklch */ color: oklch(92.6% 0.115 119.0);
Tailwind
colors: {
  custom: {
    50: '#e9f6b8',
    500: '#def299',
    950: '#000000',
  },
}
SCSS
$custom: #def299;
$custom-light: #e9f6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#def299",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 73.483,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92629,
    "c": 0.11471,
    "h": 119
  },
  "luminance": 0.81334
}

Semantic roles & 50–950 ramp

primary
#DEF299
secondary
#7960D0
accent
#0CDA3A
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF299

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

Preview Lab → · Contrast checker → · Palette generator →

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