#DAF971#DAF971

#DAF971 is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.3% C 0.165 H 120.4°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#DAF971
RGBrgb(218, 249, 113)
HSLhsl(74, 92%, 71%)
HSVhsv(74, 55%, 98%)
CMYKcmyk(12.4%, 0%, 54.6%, 2.4%)
CIE-LABlab(93.39, -29.24, 60.90)
CIE-LCHlch(93.39, 67.55, 115.65°)
OKLaboklab(93.29% -0.0836 0.1424)
OKLCHoklch(93.29% 0.165 120.4)
XYZxyz(65.7704, 83.8492, 28.3392)
Luminance0.8385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF971 #9071F9
analogous
#F9D471 #DAF971 #96F971
triadic
#DAF971 #71DAF9 #F971DA
tetradic
#DAF971 #71F9D4 #9071F9 #F97196
square
#DAF971 #71F9D4 #9071F9 #F97196
split-complementary
#DAF971 #7196F9 #D471F9
monochromatic
#B4E60A #CBF736 #DAF971 #E9FBAC #F7FEE2

Accessibility & contrast

On white

1.18
#DAF971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#DAF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF971
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF971#FFFFFF#000000##000000
##DAF9711.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#E4EEDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf971;
/* rgb */ color: rgb(218, 249, 113);
/* oklch */ color: oklch(93.3% 0.165 120.4);
Tailwind
colors: {
  custom: {
    50: '#e8fb9e',
    500: '#daf971',
    950: '#000000',
  },
}
SCSS
$custom: #daf971;
$custom-light: #e8fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#daf971",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 73.676,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93287,
    "c": 0.16514,
    "h": 120.4
  },
  "luminance": 0.83849
}

Semantic roles & 50–950 ramp

primary
#DAF971
secondary
#5D3AD4
accent
#00E634
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAF971

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

Preview Lab → · Contrast checker → · Palette generator →

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