#DAFF97#DAFF97

#DAFF97 is a very light, vivid yellow-green. Relative luminance 0.887; OKLCH L 95.1% C 0.136 H 124.9°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#DAFF97
RGBrgb(218, 255, 151)
HSLhsl(81, 100%, 80%)
HSVhsv(81, 41%, 100%)
CMYKcmyk(14.5%, 0%, 40.8%, 0%)
CIE-LABlab(95.44, -28.25, 45.76)
CIE-LCHlch(95.44, 53.78, 121.69°)
OKLaboklab(95.08% -0.0779 0.1116)
OKLCHoklch(95.08% 0.136 124.9)
XYZxyz(70.2590, 88.6593, 42.6837)
Luminance0.8866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFF97 #BC97FF
analogous
#FFF097 #DAFF97 #A6FF97
triadic
#DAFF97 #97DAFF #FF97DA
tetradic
#DAFF97 #97FFF0 #BC97FF #FF97A6
square
#DAFF97 #97FFF0 #BC97FF #FF97A6
split-complementary
#DAFF97 #97A6FF #F097FF
monochromatic
#AEFF1D #C4FF5A #DAFF97 #F0FFD4 #F4FFE0

Accessibility & contrast

On white

1.12
#DAFF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#DAFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFF97
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFF97#FFFFFF#000000##000000
##DAFF971.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#E0F6E6
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #daff97;
/* rgb */ color: rgb(218, 255, 151);
/* oklch */ color: oklch(95.1% 0.136 124.9);
Tailwind
colors: {
  custom: {
    50: '#e7ffb7',
    500: '#daff97',
    950: '#000000',
  },
}
SCSS
$custom: #daff97;
$custom-light: #e7ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#daff97",
  "rgb": {
    "r": 218,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 81.346,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.95079,
    "c": 0.13611,
    "h": 124.9
  },
  "luminance": 0.8866
}

Semantic roles & 50–950 ramp

primary
#DAFF97
secondary
#8959E2
accent
#00E652
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161811
muted
#848681

Preview Lab

Preview with #DAFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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