#DAF871#DAF871

#DAF871 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.1% C 0.164 H 120.1°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#DAF871
RGBrgb(218, 248, 113)
HSLhsl(73, 91%, 71%)
HSVhsv(73, 54%, 97%)
CMYKcmyk(12.1%, 0%, 54.4%, 2.7%)
CIE-LABlab(93.12, -28.77, 60.59)
CIE-LCHlch(93.12, 67.08, 115.40°)
OKLaboklab(93.07% -0.0823 0.1417)
OKLCHoklch(93.07% 0.164 120.1)
XYZxyz(65.4622, 83.2327, 28.2365)
Luminance0.8323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF871 #8F71F8
analogous
#F8D271 #DAF871 #96F871
triadic
#DAF871 #71DAF8 #F871DA
tetradic
#DAF871 #71F8D2 #8F71F8 #F87196
square
#DAF871 #71F8D2 #8F71F8 #F87196
split-complementary
#DAF871 #7196F8 #D271F8
monochromatic
#B3E30B #CBF537 #DAF871 #E9FBAB #F7FEE2

Accessibility & contrast

On white

1.19
#DAF871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#DAF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF871
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF871#FFFFFF#000000##000000
##DAF8711.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#E4EDDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf871;
/* rgb */ color: rgb(218, 248, 113);
/* oklch */ color: oklch(93.1% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#e8fa9e',
    500: '#daf871',
    950: '#000000',
  },
}
SCSS
$custom: #daf871;
$custom-light: #e8fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#daf871",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 73.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93071,
    "c": 0.16391,
    "h": 120.1
  },
  "luminance": 0.83232
}

Semantic roles & 50–950 ramp

primary
#DAF871
secondary
#5C3AD3
accent
#00E633
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAF871

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

Preview Lab → · Contrast checker → · Palette generator →

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