#DAFD74#DAFD74

#DAFD74 is a very light, vivid yellow-green. Relative luminance 0.864; OKLCH L 94.2% C 0.167 H 121.6°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#DAFD74
RGBrgb(218, 253, 116)
HSLhsl(75, 97%, 72%)
HSVhsv(75, 54%, 99%)
CMYKcmyk(13.8%, 0%, 54.2%, 0.8%)
CIE-LABlab(94.49, -30.84, 60.85)
CIE-LCHlch(94.49, 68.22, 116.88°)
OKLaboklab(94.19% -0.0878 0.1426)
OKLCHoklch(94.19% 0.167 121.6)
XYZxyz(67.1916, 86.4169, 29.6600)
Luminance0.8642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFD74 #9774FD
analogous
#FDDB74 #DAFD74 #96FD74
triadic
#DAFD74 #74DAFD #FD74DA
tetradic
#DAFD74 #74FDDB #9774FD #FD7496
square
#DAFD74 #74FDDB #9774FD #FD7496
split-complementary
#DAFD74 #7496FD #DB74FD
monochromatic
#B6F303 #CAFC38 #DAFD74 #EAFEB0 #F7FFE1

Accessibility & contrast

On white

1.15
#DAFD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#DAFD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFD74
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFD74#FFFFFF#000000##000000
##DAFD741.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF066
Deuteranopia (green-blind)
#FFEF7C
Tritanopia (blue-blind)
#E4F2DF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dafd74;
/* rgb */ color: rgb(218, 253, 116);
/* oklch */ color: oklch(94.2% 0.167 121.6);
Tailwind
colors: {
  custom: {
    50: '#e8fea0',
    500: '#dafd74',
    950: '#000000',
  },
}
SCSS
$custom: #dafd74;
$custom-light: #e8fea0;
$custom-dark: #000000;
JSON
{
  "hex": "#dafd74",
  "rgb": {
    "r": 218,
    "g": 253,
    "b": 116
  },
  "hsl": {
    "h": 75.328,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94185,
    "c": 0.16748,
    "h": 121.6
  },
  "luminance": 0.86417
}

Semantic roles & 50–950 ramp

primary
#DAFD74
secondary
#643BDA
accent
#00E63B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFD74

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

Preview Lab → · Contrast checker → · Palette generator →

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