#DAF771#DAF771

#DAF771 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.9% C 0.163 H 119.9°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#DAF771
RGBrgb(218, 247, 113)
HSLhsl(73, 89%, 71%)
HSVhsv(73, 54%, 97%)
CMYKcmyk(11.7%, 0%, 54.3%, 3.1%)
CIE-LABlab(92.85, -28.30, 60.28)
CIE-LCHlch(92.85, 66.60, 115.15°)
OKLaboklab(92.86% -0.081 0.1411)
OKLCHoklch(92.86% 0.163 119.9)
XYZxyz(65.1555, 82.6195, 28.1343)
Luminance0.8262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF771 #8E71F7
analogous
#F7D171 #DAF771 #97F771
triadic
#DAF771 #71DAF7 #F771DA
tetradic
#DAF771 #71F7D1 #8E71F7 #F77197
square
#DAF771 #71F7D1 #8E71F7 #F77197
split-complementary
#DAF771 #7197F7 #D171F7
monochromatic
#B3E10D #CBF437 #DAF771 #E9FAAB #F7FDE2

Accessibility & contrast

On white

1.20
#DAF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#DAF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF771
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF771#FFFFFF#000000##000000
##DAF7711.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#E4ECD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #daf771;
/* rgb */ color: rgb(218, 247, 113);
/* oklch */ color: oklch(92.9% 0.163 119.9);
Tailwind
colors: {
  custom: {
    50: '#e8f99e',
    500: '#daf771',
    950: '#000000',
  },
}
SCSS
$custom: #daf771;
$custom-light: #e8f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#daf771",
  "rgb": {
    "r": 218,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 72.985,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92856,
    "c": 0.16267,
    "h": 119.9
  },
  "luminance": 0.82619
}

Semantic roles & 50–950 ramp

primary
#DAF771
secondary
#5B3AD2
accent
#00E632
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAF771

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

Preview Lab → · Contrast checker → · Palette generator →

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