#DEF799#DEF799

#DEF799 is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.7% C 0.121 H 120.9°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#DEF799
RGBrgb(222, 247, 153)
HSLhsl(76, 85%, 78%)
HSVhsv(76, 38%, 97%)
CMYKcmyk(10.1%, 0%, 38.1%, 3.1%)
CIE-LABlab(93.60, -22.76, 42.50)
CIE-LCHlch(93.60, 48.21, 118.17°)
OKLaboklab(93.69% -0.0625 0.1042)
OKLCHoklch(93.69% 0.122 120.9)
XYZxyz(69.1346, 84.3511, 42.7701)
Luminance0.8435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF799 #B299F7
analogous
#F7E199 #DEF799 #AFF799
triadic
#DEF799 #99DEF7 #F799DE
tetradic
#DEF799 #99F7E1 #B299F7 #F799AF
square
#DEF799 #99F7E1 #B299F7 #F799AF
split-complementary
#DEF799 #99AFF7 #E199F7
monochromatic
#B9EE27 #CCF360 #DEF799 #F0FBD2 #F6FDE3

Accessibility & contrast

On white

1.18
#DEF799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#DEF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF799
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF799#FFFFFF#000000##000000
##DEF7991.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED92
Deuteranopia (green-blind)
#FFED9E
Tritanopia (blue-blind)
#E6EEE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def799;
/* rgb */ color: rgb(222, 247, 153);
/* oklch */ color: oklch(93.7% 0.121 120.9);
Tailwind
colors: {
  custom: {
    50: '#e9f9b8',
    500: '#def799',
    950: '#000000',
  },
}
SCSS
$custom: #def799;
$custom-light: #e9f9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#def799",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 75.957,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93686,
    "c": 0.1215,
    "h": 120.9
  },
  "luminance": 0.84351
}

Semantic roles & 50–950 ramp

primary
#DEF799
secondary
#7E5ED6
accent
#04E23F
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF799

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

Preview Lab → · Contrast checker → · Palette generator →

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