#DAF474#DAF474

#DAF474 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.2% C 0.156 H 119.1°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#DAF474
RGBrgb(218, 244, 116)
HSLhsl(72, 85%, 71%)
HSVhsv(72, 52%, 96%)
CMYKcmyk(10.7%, 0%, 52.5%, 4.3%)
CIE-LABlab(92.07, -26.64, 58.05)
CIE-LCHlch(92.07, 63.87, 114.65°)
OKLaboklab(92.24% -0.076 0.1365)
OKLCHoklch(92.24% 0.156 119.1)
XYZxyz(64.4172, 80.8681, 28.7352)
Luminance0.8087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF474 #8E74F4
analogous
#F4CE74 #DAF474 #9AF474
triadic
#DAF474 #74DAF4 #F474DA
tetradic
#DAF474 #74F4CE #8E74F4 #F4749A
square
#DAF474 #74F4CE #8E74F4 #F4749A
split-complementary
#DAF474 #749AF4 #CE74F4
monochromatic
#B3DC11 #CBF03B #DAF474 #E9F8AD #F7FDE3

Accessibility & contrast

On white

1.22
#DAF474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#DAF474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF474
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF474#FFFFFF#000000##000000
##DAF4741.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#E4E9D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #daf474;
/* rgb */ color: rgb(218, 244, 116);
/* oklch */ color: oklch(92.2% 0.156 119.1);
Tailwind
colors: {
  custom: {
    50: '#e8f79f',
    500: '#daf474',
    950: '#000000',
  },
}
SCSS
$custom: #daf474;
$custom-light: #e8f79f;
$custom-dark: #000000;
JSON
{
  "hex": "#daf474",
  "rgb": {
    "r": 218,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 72.188,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92244,
    "c": 0.15628,
    "h": 119.1
  },
  "luminance": 0.80868
}

Semantic roles & 50–950 ramp

primary
#DAF474
secondary
#5B3ECE
accent
#04E231
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF474

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

Preview Lab → · Contrast checker → · Palette generator →

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