#DAFA71#DAFA71

#DAFA71 is a very light, vivid yellow-green. Relative luminance 0.845; OKLCH L 93.5% C 0.166 H 120.7°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#DAFA71
RGBrgb(218, 250, 113)
HSLhsl(74, 93%, 71%)
HSVhsv(74, 55%, 98%)
CMYKcmyk(12.8%, 0%, 54.8%, 2%)
CIE-LABlab(93.65, -29.70, 61.21)
CIE-LCHlch(93.65, 68.04, 115.89°)
OKLaboklab(93.5% -0.0849 0.1431)
OKLCHoklch(93.5% 0.166 120.7)
XYZxyz(66.0803, 84.4690, 28.4425)
Luminance0.8447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA71 #9171FA
analogous
#FAD671 #DAFA71 #95FA71
triadic
#DAFA71 #71DAFA #FA71DA
tetradic
#DAFA71 #71FAD6 #9171FA #FA7195
square
#DAFA71 #71FAD6 #9171FA #FA7195
split-complementary
#DAFA71 #7195FA #D671FA
monochromatic
#B4E808 #CBF836 #DAFA71 #E9FCAC #F7FEE1

Accessibility & contrast

On white

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

On black

17.89
#DAFA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA71
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA71#FFFFFF#000000##000000
##DAFA711.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dafa71;
/* rgb */ color: rgb(218, 250, 113);
/* oklch */ color: oklch(93.5% 0.166 120.7);
Tailwind
colors: {
  custom: {
    50: '#e8fc9e',
    500: '#dafa71',
    950: '#000000',
  },
}
SCSS
$custom: #dafa71;
$custom-light: #e8fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa71",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 74.015,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93503,
    "c": 0.16638,
    "h": 120.7
  },
  "luminance": 0.84469
}

Semantic roles & 50–950 ramp

primary
#DAFA71
secondary
#5E3AD5
accent
#00E636
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFA71

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

Preview Lab → · Contrast checker → · Palette generator →

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