#DAFC8A#DAFC8A

#DAFC8A is a very light, vivid yellow-green. Relative luminance 0.864; OKLCH L 94.2% C 0.145 H 122.8°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#DAFC8A
RGBrgb(218, 252, 138)
HSLhsl(78, 95%, 76%)
HSVhsv(78, 45%, 99%)
CMYKcmyk(13.5%, 0%, 45.2%, 1.2%)
CIE-LABlab(94.47, -28.28, 50.76)
CIE-LCHlch(94.47, 58.10, 119.12°)
OKLaboklab(94.25% -0.0788 0.1222)
OKLCHoklch(94.25% 0.145 122.8)
XYZxyz(68.3113, 86.3610, 37.1104)
Luminance0.8636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFC8A #AC8AFC
analogous
#FCE58A #DAFC8A #A1FC8A
triadic
#DAFC8A #8ADAFC #FC8ADA
tetradic
#DAFC8A #8AFCE5 #AC8AFC #FC8AA1
square
#DAFC8A #8AFCE5 #AC8AFC #FC8AA1
split-complementary
#DAFC8A #8AA1FC #E58AFC
monochromatic
#B4F913 #C7FA4E #DAFC8A #EDFEC6 #F6FEE1

Accessibility & contrast

On white

1.15
#DAFC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#DAFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFC8A
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFC8A#FFFFFF#000000##000000
##DAFC8A1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF081
Deuteranopia (green-blind)
#FFEF90
Tritanopia (blue-blind)
#E2F2E1
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dafc8a;
/* rgb */ color: rgb(218, 252, 138);
/* oklch */ color: oklch(94.2% 0.145 122.8);
Tailwind
colors: {
  custom: {
    50: '#e7fdae',
    500: '#dafc8a',
    950: '#000000',
  },
}
SCSS
$custom: #dafc8a;
$custom-light: #e7fdae;
$custom-dark: #000000;
JSON
{
  "hex": "#dafc8a",
  "rgb": {
    "r": 218,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 77.895,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94245,
    "c": 0.1454,
    "h": 122.8
  },
  "luminance": 0.86361
}

Semantic roles & 50–950 ramp

primary
#DAFC8A
secondary
#794FDC
accent
#00E644
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DAFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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