#DAF970#DAF970

#DAF970 is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.3% C 0.166 H 120.4°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#DAF970
RGBrgb(218, 249, 112)
HSLhsl(74, 92%, 71%)
HSVhsv(74, 55%, 98%)
CMYKcmyk(12.4%, 0%, 55%, 2.4%)
CIE-LABlab(93.38, -29.32, 61.33)
CIE-LCHlch(93.38, 67.98, 115.55°)
OKLaboklab(93.28% -0.0839 0.1432)
OKLCHoklch(93.28% 0.166 120.4)
XYZxyz(65.7144, 83.8268, 28.0444)
Luminance0.8383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF970 #8F70F9
analogous
#F9D470 #DAF970 #95F970
triadic
#DAF970 #70DAF9 #F970DA
tetradic
#DAF970 #70F9D4 #8F70F9 #F97095
square
#DAF970 #70F9D4 #8F70F9 #F97095
split-complementary
#DAF970 #7095F9 #D470F9
monochromatic
#B3E50A #CBF735 #DAF970 #E9FBAB #F7FEE2

Accessibility & contrast

On white

1.18
#DAF970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#DAF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF970
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF970#FFFFFF#000000##000000
##DAF9701.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEC78
Tritanopia (blue-blind)
#E4EDDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf970;
/* rgb */ color: rgb(218, 249, 112);
/* oklch */ color: oklch(93.3% 0.166 120.4);
Tailwind
colors: {
  custom: {
    50: '#e8fb9d',
    500: '#daf970',
    950: '#000000',
  },
}
SCSS
$custom: #daf970;
$custom-light: #e8fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#daf970",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 73.577,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93276,
    "c": 0.16602,
    "h": 120.4
  },
  "luminance": 0.83827
}

Semantic roles & 50–950 ramp

primary
#DAF970
secondary
#5C39D4
accent
#00E634
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAF970

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

Preview Lab → · Contrast checker → · Palette generator →

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