#DEF899#DEF899

#DEF899 is a very light, vivid yellow-green. Relative luminance 0.850; OKLCH L 93.9% C 0.123 H 121.3°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#DEF899
RGBrgb(222, 248, 153)
HSLhsl(76, 87%, 79%)
HSVhsv(76, 38%, 97%)
CMYKcmyk(10.5%, 0%, 38.3%, 2.7%)
CIE-LABlab(93.87, -23.24, 42.84)
CIE-LCHlch(93.87, 48.74, 118.48°)
OKLaboklab(93.9% -0.0638 0.105)
OKLCHoklch(93.9% 0.123 121.3)
XYZxyz(69.4413, 84.9643, 42.8723)
Luminance0.8496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF899 #B399F8
analogous
#F8E299 #DEF899 #AEF899
triadic
#DEF899 #99DEF8 #F899DE
tetradic
#DEF899 #99F8E2 #B399F8 #F899AE
square
#DEF899 #99F8E2 #B399F8 #F899AE
split-complementary
#DEF899 #99AEF8 #E299F8
monochromatic
#B9F026 #CBF460 #DEF899 #F1FCD2 #F6FDE2

Accessibility & contrast

On white

1.17
#DEF899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.99
#DEF899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF899
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF899#FFFFFF#000000##000000
##DEF8991.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE92
Deuteranopia (green-blind)
#FFEE9E
Tritanopia (blue-blind)
#E6EFE1
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def899;
/* rgb */ color: rgb(222, 248, 153);
/* oklch */ color: oklch(93.9% 0.123 121.3);
Tailwind
colors: {
  custom: {
    50: '#e9fab8',
    500: '#def899',
    950: '#000000',
  },
}
SCSS
$custom: #def899;
$custom-light: #e9fab8;
$custom-dark: #000000;
JSON
{
  "hex": "#def899",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 153
  },
  "hsl": {
    "h": 76.421,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93898,
    "c": 0.12288,
    "h": 121.3
  },
  "luminance": 0.84964
}

Semantic roles & 50–950 ramp

primary
#DEF899
secondary
#7F5DD8
accent
#02E440
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF899

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

Preview Lab → · Contrast checker → · Palette generator →

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