#DAFA76#DAFA76

#DAFA76 is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.6% C 0.162 H 120.9°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#DAFA76
RGBrgb(218, 250, 118)
HSLhsl(75, 93%, 72%)
HSVhsv(75, 53%, 98%)
CMYKcmyk(12.8%, 0%, 52.8%, 2%)
CIE-LABlab(93.70, -29.27, 59.05)
CIE-LCHlch(93.70, 65.91, 116.37°)
OKLaboklab(93.56% -0.0833 0.1389)
OKLCHoklch(93.56% 0.162 120.9)
XYZxyz(66.3696, 84.5847, 29.9661)
Luminance0.8458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA76 #9676FA
analogous
#FAD876 #DAFA76 #98FA76
triadic
#DAFA76 #76DAFA #FA76DA
tetradic
#DAFA76 #76FAD8 #9676FA #FA7698
square
#DAFA76 #76FAD8 #9676FA #FA7698
split-complementary
#DAFA76 #7698FA #D876FA
monochromatic
#B6ED09 #CAF83B #DAFA76 #EAFCB1 #F7FEE1

Accessibility & contrast

On white

1.17
#DAFA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#DAFA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA76
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA76#FFFFFF#000000##000000
##DAFA761.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED69
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#E4EFDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa76;
/* rgb */ color: rgb(218, 250, 118);
/* oklch */ color: oklch(93.6% 0.162 120.9);
Tailwind
colors: {
  custom: {
    50: '#e8fca1',
    500: '#dafa76',
    950: '#000000',
  },
}
SCSS
$custom: #dafa76;
$custom-light: #e8fca1;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa76",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 118
  },
  "hsl": {
    "h": 74.545,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9356,
    "c": 0.16194,
    "h": 120.9
  },
  "luminance": 0.84585
}

Semantic roles & 50–950 ramp

primary
#DAFA76
secondary
#633ED6
accent
#00E638
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAFA76

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

Preview Lab → · Contrast checker → · Palette generator →

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