#DEF99E#DEF99E

#DEF99E is a very light, moderate yellow-green. Relative luminance 0.858; OKLCH L 94.2% C 0.119 H 122.2°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#DEF99E
RGBrgb(222, 249, 158)
HSLhsl(78, 88%, 80%)
HSVhsv(78, 37%, 98%)
CMYKcmyk(10.8%, 0%, 36.5%, 2.4%)
CIE-LABlab(94.21, -23.12, 40.82)
CIE-LCHlch(94.21, 46.91, 119.53°)
OKLaboklab(94.19% -0.0632 0.1006)
OKLCHoklch(94.19% 0.119 122.2)
XYZxyz(70.1712, 85.7495, 45.1957)
Luminance0.8575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF99E #B99EF9
analogous
#F9E69E #DEF99E #B1F99E
triadic
#DEF99E #9EDEF9 #F99EDE
tetradic
#DEF99E #9EF9E6 #B99EF9 #F99EB1
square
#DEF99E #9EF9E6 #B99EF9 #F99EB1
split-complementary
#DEF99E #9EB1F9 #E69EF9
monochromatic
#B7F22B #CAF564 #DEF99E #F2FDD8 #F5FDE2

Accessibility & contrast

On white

1.16
#DEF99E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#DEF99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF99E
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF99E#FFFFFF#000000##000000
##DEF99E1.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF97
Deuteranopia (green-blind)
#FFEEA2
Tritanopia (blue-blind)
#E5F0E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def99e;
/* rgb */ color: rgb(222, 249, 158);
/* oklch */ color: oklch(94.2% 0.119 122.2);
Tailwind
colors: {
  custom: {
    50: '#e9fbbb',
    500: '#def99e',
    950: '#000000',
  },
}
SCSS
$custom: #def99e;
$custom-light: #e9fbbb;
$custom-dark: #000000;
JSON
{
  "hex": "#def99e",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 158
  },
  "hsl": {
    "h": 77.802,
    "s": 88.35,
    "l": 79.804
  },
  "oklch": {
    "l": 0.94191,
    "c": 0.11877,
    "h": 122.2
  },
  "luminance": 0.8575
}

Semantic roles & 50–950 ramp

primary
#DEF99E
secondary
#8561DA
accent
#01E544
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DEF99E

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

Preview Lab → · Contrast checker → · Palette generator →

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