#DEF199#DEF199

#DEF199 is a very light, moderate yellow-green. Relative luminance 0.807; OKLCH L 92.4% C 0.113 H 118.6°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#DEF199
RGBrgb(222, 241, 153)
HSLhsl(73, 76%, 77%)
HSVhsv(73, 37%, 95%)
CMYKcmyk(7.9%, 0%, 36.5%, 5.5%)
CIE-LABlab(92.02, -19.87, 40.45)
CIE-LCHlch(92.02, 45.07, 116.16°)
OKLaboklab(92.42% -0.0543 0.0995)
OKLCHoklch(92.42% 0.113 118.6)
XYZxyz(67.3293, 80.7404, 42.1683)
Luminance0.8074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF199 #AC99F1
analogous
#F1D899 #DEF199 #B2F199
triadic
#DEF199 #99DEF1 #F199DE
tetradic
#DEF199 #99F1D8 #AC99F1 #F199B2
square
#DEF199 #99F1D8 #AC99F1 #F199B2
split-complementary
#DEF199 #99B2F1 #D899F1
monochromatic
#BBE22D #CDEA63 #DEF199 #EFF8CF #F6FBE4

Accessibility & contrast

On white

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

On black

17.15
#DEF199 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF199
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF199#FFFFFF#000000##000000
##DEF1991.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE893
Deuteranopia (green-blind)
#FAE99D
Tritanopia (blue-blind)
#E6E8DB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def199;
/* rgb */ color: rgb(222, 241, 153);
/* oklch */ color: oklch(92.4% 0.113 118.6);
Tailwind
colors: {
  custom: {
    50: '#e9f5b8',
    500: '#def199',
    950: '#000000',
  },
}
SCSS
$custom: #def199;
$custom-light: #e9f5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#def199",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 153
  },
  "hsl": {
    "h": 72.955,
    "s": 75.862,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92418,
    "c": 0.11336,
    "h": 118.6
  },
  "luminance": 0.8074
}

Semantic roles & 50–950 ramp

primary
#DEF199
secondary
#7860CE
accent
#0DD839
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF199

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

Preview Lab → · Contrast checker → · Palette generator →

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