#DEFF97#DEFF97

#DEFF97 is a very light, vivid yellow-green. Relative luminance 0.893; OKLCH L 95.4% C 0.135 H 123.3°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#DEFF97
RGBrgb(222, 255, 151)
HSLhsl(79, 100%, 80%)
HSVhsv(79, 41%, 100%)
CMYKcmyk(12.9%, 0%, 40.8%, 0%)
CIE-LABlab(95.70, -26.79, 46.15)
CIE-LCHlch(95.70, 53.36, 120.14°)
OKLaboklab(95.36% -0.0739 0.1125)
OKLCHoklch(95.36% 0.135 123.3)
XYZxyz(71.4699, 89.2837, 42.7404)
Luminance0.8928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFF97 #B897FF
analogous
#FFEC97 #DEFF97 #AAFF97
triadic
#DEFF97 #97DEFF #FF97DE
tetradic
#DEFF97 #97FFEC #B897FF #FF97AA
square
#DEFF97 #97FFEC #B897FF #FF97AA
split-complementary
#DEFF97 #97AAFF #EC97FF
monochromatic
#B7FF1D #CBFF5A #DEFF97 #F1FFD4 #F5FFE0

Accessibility & contrast

On white

1.11
#DEFF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#DEFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFF97
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFF97#FFFFFF#000000##000000
##DEFF971.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48F
Deuteranopia (green-blind)
#FFF29C
Tritanopia (blue-blind)
#E5F6E6
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #deff97;
/* rgb */ color: rgb(222, 255, 151);
/* oklch */ color: oklch(95.4% 0.135 123.3);
Tailwind
colors: {
  custom: {
    50: '#e9ffb7',
    500: '#deff97',
    950: '#000000',
  },
}
SCSS
$custom: #deff97;
$custom-light: #e9ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#deff97",
  "rgb": {
    "r": 222,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 79.038,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.95355,
    "c": 0.1346,
    "h": 123.3
  },
  "luminance": 0.89284
}

Semantic roles & 50–950 ramp

primary
#DEFF97
secondary
#8459E2
accent
#00E649
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161811
muted
#848681

Preview Lab

Preview with #DEFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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