#DAFA74#DAFA74

#DAFA74 is a very light, vivid yellow-green. Relative luminance 0.845; OKLCH L 93.5% C 0.164 H 120.8°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#DAFA74
RGBrgb(218, 250, 116)
HSLhsl(74, 93%, 72%)
HSVhsv(74, 54%, 98%)
CMYKcmyk(12.8%, 0%, 53.6%, 2%)
CIE-LABlab(93.68, -29.45, 59.92)
CIE-LCHlch(93.68, 66.76, 116.17°)
OKLaboklab(93.54% -0.0839 0.1406)
OKLCHoklch(93.54% 0.164 120.8)
XYZxyz(66.2520, 84.5377, 29.3468)
Luminance0.8454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA74 #9474FA
analogous
#FAD774 #DAFA74 #97FA74
triadic
#DAFA74 #74DAFA #FA74DA
tetradic
#DAFA74 #74FAD7 #9474FA #FA7497
square
#DAFA74 #74FAD7 #9474FA #FA7497
split-complementary
#DAFA74 #7497FA #D774FA
monochromatic
#B5EB08 #CAF839 #DAFA74 #EAFCAF #F7FEE1

Accessibility & contrast

On white

1.17
#DAFA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#DAFA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA74
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA74#FFFFFF#000000##000000
##DAFA741.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FFED7C
Tritanopia (blue-blind)
#E4EFDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa74;
/* rgb */ color: rgb(218, 250, 116);
/* oklch */ color: oklch(93.5% 0.164 120.8);
Tailwind
colors: {
  custom: {
    50: '#e8fca0',
    500: '#dafa74',
    950: '#000000',
  },
}
SCSS
$custom: #dafa74;
$custom-light: #e8fca0;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa74",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 74.328,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93537,
    "c": 0.16373,
    "h": 120.8
  },
  "luminance": 0.84538
}

Semantic roles & 50–950 ramp

primary
#DAFA74
secondary
#613CD6
accent
#00E637
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFA74

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

Preview Lab → · Contrast checker → · Palette generator →

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