#DAFE97#DAFE97

#DAFE97 is a very light, vivid yellow-green. Relative luminance 0.880; OKLCH L 94.9% C 0.135 H 124.6°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#DAFE97
RGBrgb(218, 254, 151)
HSLhsl(81, 98%, 79%)
HSVhsv(81, 41%, 100%)
CMYKcmyk(14.2%, 0%, 40.6%, 0.4%)
CIE-LABlab(95.17, -27.78, 45.42)
CIE-LCHlch(95.17, 53.24, 121.45°)
OKLaboklab(94.87% -0.0766 0.1108)
OKLCHoklch(94.87% 0.135 124.6)
XYZxyz(69.9408, 88.0230, 42.5776)
Luminance0.8802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFE97 #BB97FE
analogous
#FEEF97 #DAFE97 #A7FE97
triadic
#DAFE97 #97DAFE #FE97DA
tetradic
#DAFE97 #97FEEF #BB97FE #FE97A7
square
#DAFE97 #97FEEF #BB97FE #FE97A7
split-complementary
#DAFE97 #97A7FE #EF97FE
monochromatic
#AFFD1E #C4FD5A #DAFE97 #F0FFD4 #F4FFE1

Accessibility & contrast

On white

1.13
#DAFE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#DAFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFE97
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFE97#FFFFFF#000000##000000
##DAFE971.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#E0F5E5
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #dafe97;
/* rgb */ color: rgb(218, 254, 151);
/* oklch */ color: oklch(94.9% 0.135 124.6);
Tailwind
colors: {
  custom: {
    50: '#e7feb7',
    500: '#dafe97',
    950: '#000000',
  },
}
SCSS
$custom: #dafe97;
$custom-light: #e7feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dafe97",
  "rgb": {
    "r": 218,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 80.971,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94865,
    "c": 0.13472,
    "h": 124.6
  },
  "luminance": 0.88023
}

Semantic roles & 50–950 ramp

primary
#DAFE97
secondary
#8859E0
accent
#00E650
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161811
muted
#848681

Preview Lab

Preview with #DAFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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