#DAF171#DAF171

#DAF171 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.6% C 0.155 H 118.1°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#DAF171
RGBrgb(218, 241, 113)
HSLhsl(71, 82%, 69%)
HSVhsv(71, 53%, 95%)
CMYKcmyk(9.5%, 0%, 53.1%, 5.5%)
CIE-LABlab(91.24, -25.48, 58.42)
CIE-LCHlch(91.24, 63.74, 113.56°)
OKLaboklab(91.56% -0.073 0.1371)
OKLCHoklch(91.56% 0.155 118.1)
XYZxyz(63.3502, 79.0088, 27.5325)
Luminance0.7901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF171 #8871F1
analogous
#F1C871 #DAF171 #9AF171
triadic
#DAF171 #71DAF1 #F171DA
tetradic
#DAF171 #71F1C8 #8871F1 #F1719A
square
#DAF171 #71F1C8 #8871F1 #F1719A
split-complementary
#DAF171 #719AF1 #C871F1
monochromatic
#B1D315 #CBEC39 #DAF171 #E9F6A9 #F7FCE0

Accessibility & contrast

On white

1.25
#DAF171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#DAF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF171
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF171#FFFFFF#000000##000000
##DAF1711.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FCE778
Tritanopia (blue-blind)
#E5E6D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf171;
/* rgb */ color: rgb(218, 241, 113);
/* oklch */ color: oklch(91.6% 0.155 118.1);
Tailwind
colors: {
  custom: {
    50: '#e8f59d',
    500: '#daf171',
    950: '#000000',
  },
}
SCSS
$custom: #daf171;
$custom-light: #e8f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#daf171",
  "rgb": {
    "r": 218,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 70.781,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91564,
    "c": 0.15532,
    "h": 118.1
  },
  "luminance": 0.79008
}

Semantic roles & 50–950 ramp

primary
#DAF171
secondary
#563CCA
accent
#07DE2E
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF171

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

Preview Lab → · Contrast checker → · Palette generator →

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