#DAFA77#DAFA77

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

Color values

HEX#DAFA77
RGBrgb(218, 250, 119)
HSLhsl(75, 93%, 72%)
HSVhsv(75, 52%, 98%)
CMYKcmyk(12.8%, 0%, 52.4%, 2%)
CIE-LABlab(93.71, -29.18, 58.62)
CIE-LCHlch(93.71, 65.48, 116.47°)
OKLaboklab(93.57% -0.0829 0.138)
OKLCHoklch(93.57% 0.161 121)
XYZxyz(66.4293, 84.6086, 30.2807)
Luminance0.8461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA77 #9777FA
analogous
#FAD877 #DAFA77 #99FA77
triadic
#DAFA77 #77DAFA #FA77DA
tetradic
#DAFA77 #77FAD8 #9777FA #FA7799
square
#DAFA77 #77FAD8 #9777FA #FA7799
split-complementary
#DAFA77 #7799FA #D877FA
monochromatic
#B6EE09 #CAF83C #DAFA77 #EAFCB2 #F7FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAFA77#FFFFFF#000000##000000
##DAFA771.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)
#FFED6A
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#E4EFDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa77;
/* rgb */ color: rgb(218, 250, 119);
/* oklch */ color: oklch(93.6% 0.161 121.0);
Tailwind
colors: {
  custom: {
    50: '#e8fca2',
    500: '#dafa77',
    950: '#000000',
  },
}
SCSS
$custom: #dafa77;
$custom-light: #e8fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa77",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 119
  },
  "hsl": {
    "h": 74.656,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93571,
    "c": 0.16103,
    "h": 121
  },
  "luminance": 0.84609
}

Semantic roles & 50–950 ramp

primary
#DAFA77
secondary
#643FD6
accent
#00E638
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAFA77

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

Preview Lab → · Contrast checker → · Palette generator →

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