#DAF371#DAF371

#DAF371 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 92.0% C 0.158 H 118.7°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#DAF371
RGBrgb(218, 243, 113)
HSLhsl(72, 84%, 70%)
HSVhsv(72, 53%, 95%)
CMYKcmyk(10.3%, 0%, 53.5%, 4.7%)
CIE-LABlab(91.77, -26.42, 59.04)
CIE-LCHlch(91.77, 64.69, 114.11°)
OKLaboklab(91.99% -0.0757 0.1384)
OKLCHoklch(91.99% 0.158 118.7)
XYZxyz(63.9455, 80.1993, 27.7309)
Luminance0.8020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF371 #8A71F3
analogous
#F3CB71 #DAF371 #99F371
triadic
#DAF371 #71DAF3 #F371DA
tetradic
#DAF371 #71F3CB #8A71F3 #F37199
square
#DAF371 #71F3CB #8A71F3 #F37199
split-complementary
#DAF371 #7199F3 #CB71F3
monochromatic
#B1D712 #CBEE39 #DAF371 #E9F8A9 #F7FDE2

Accessibility & contrast

On white

1.23
#DAF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#DAF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF371
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF371#FFFFFF#000000##000000
##DAF3711.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#E5E8D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #daf371;
/* rgb */ color: rgb(218, 243, 113);
/* oklch */ color: oklch(92.0% 0.158 118.7);
Tailwind
colors: {
  custom: {
    50: '#e8f79d',
    500: '#daf371',
    950: '#000000',
  },
}
SCSS
$custom: #daf371;
$custom-light: #e8f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#daf371",
  "rgb": {
    "r": 218,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 71.538,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91994,
    "c": 0.15776,
    "h": 118.7
  },
  "luminance": 0.80199
}

Semantic roles & 50–950 ramp

primary
#DAF371
secondary
#573BCD
accent
#05E12F
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAF371

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

Preview Lab → · Contrast checker → · Palette generator →

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