#DAFA70#DAFA70

#DAFA70 is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.5% C 0.167 H 120.6°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#DAFA70
RGBrgb(218, 250, 112)
HSLhsl(74, 93%, 71%)
HSVhsv(74, 55%, 98%)
CMYKcmyk(12.8%, 0%, 55.2%, 2%)
CIE-LABlab(93.64, -29.79, 61.64)
CIE-LCHlch(93.64, 68.46, 115.79°)
OKLaboklab(93.49% -0.0852 0.1439)
OKLCHoklch(93.49% 0.167 120.6)
XYZxyz(66.0243, 84.4466, 28.1477)
Luminance0.8445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA70 #9070FA
analogous
#FAD570 #DAFA70 #95FA70
triadic
#DAFA70 #70DAFA #FA70DA
tetradic
#DAFA70 #70FAD5 #9070FA #FA7095
square
#DAFA70 #70FAD5 #9070FA #FA7095
split-complementary
#DAFA70 #7095FA #D570FA
monochromatic
#B4E808 #CBF835 #DAFA70 #E9FCAB #F7FEE1

Accessibility & contrast

On white

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

On black

17.89
#DAFA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA70
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA70#FFFFFF#000000##000000
##DAFA701.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED62
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#E4EEDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa70;
/* rgb */ color: rgb(218, 250, 112);
/* oklch */ color: oklch(93.5% 0.167 120.6);
Tailwind
colors: {
  custom: {
    50: '#e8fc9d',
    500: '#dafa70',
    950: '#000000',
  },
}
SCSS
$custom: #dafa70;
$custom-light: #e8fc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa70",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 73.913,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93492,
    "c": 0.16725,
    "h": 120.6
  },
  "luminance": 0.84446
}

Semantic roles & 50–950 ramp

primary
#DAFA70
secondary
#5D39D5
accent
#00E635
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFA70

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

Preview Lab → · Contrast checker → · Palette generator →

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