#DAFE98#DAFE98

#DAFE98 is a very light, vivid yellow-green. Relative luminance 0.881; OKLCH L 94.9% C 0.134 H 124.7°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#DAFE98
RGBrgb(218, 254, 152)
HSLhsl(81, 98%, 80%)
HSVhsv(81, 40%, 100%)
CMYKcmyk(14.2%, 0%, 40.2%, 0.4%)
CIE-LABlab(95.18, -27.66, 44.95)
CIE-LCHlch(95.18, 52.78, 121.60°)
OKLaboklab(94.88% -0.0762 0.1098)
OKLCHoklch(94.88% 0.134 124.7)
XYZxyz(70.0224, 88.0556, 43.0071)
Luminance0.8806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFE98 #BC98FE
analogous
#FEEF98 #DAFE98 #A7FE98
triadic
#DAFE98 #98DAFE #FE98DA
tetradic
#DAFE98 #98FEEF #BC98FE #FE98A7
square
#DAFE98 #98FEEF #BC98FE #FE98A7
split-complementary
#DAFE98 #98A7FE #EF98FE
monochromatic
#AEFD1F #C4FD5B #DAFE98 #F0FFD5 #F4FFE1

Accessibility & contrast

On white

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

On black

18.61
#DAFE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFE98
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFE98#FFFFFF#000000##000000
##DAFE981.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dafe98;
/* rgb */ color: rgb(218, 254, 152);
/* oklch */ color: oklch(94.9% 0.134 124.7);
Tailwind
colors: {
  custom: {
    50: '#e7feb7',
    500: '#dafe98',
    950: '#000000',
  },
}
SCSS
$custom: #dafe98;
$custom-light: #e7feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dafe98",
  "rgb": {
    "r": 218,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 81.176,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94881,
    "c": 0.13367,
    "h": 124.7
  },
  "luminance": 0.88056
}

Semantic roles & 50–950 ramp

primary
#DAFE98
secondary
#895AE0
accent
#00E651
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161811
muted
#848681

Preview Lab

Preview with #DAFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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