#DAF976#DAF976

#DAF976 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.3% C 0.161 H 120.7°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#DAF976
RGBrgb(218, 249, 118)
HSLhsl(74, 92%, 72%)
HSVhsv(74, 53%, 98%)
CMYKcmyk(12.4%, 0%, 52.6%, 2.4%)
CIE-LABlab(93.44, -28.81, 58.74)
CIE-LCHlch(93.44, 65.42, 116.12°)
OKLaboklab(93.34% -0.0819 0.1382)
OKLCHoklch(93.34% 0.161 120.7)
XYZxyz(66.0597, 83.9649, 29.8628)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF976 #9576F9
analogous
#F9D676 #DAF976 #99F976
triadic
#DAF976 #76DAF9 #F976DA
tetradic
#DAF976 #76F9D6 #9576F9 #F97699
square
#DAF976 #76F9D6 #9576F9 #F97699
split-complementary
#DAF976 #7699F9 #D676F9
monochromatic
#B5EA0A #CAF63B #DAF976 #EAFCB1 #F7FEE2

Accessibility & contrast

On white

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

On black

17.79
#DAF976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF976
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF976#FFFFFF#000000##000000
##DAF9761.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED69
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#E4EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf976;
/* rgb */ color: rgb(218, 249, 118);
/* oklch */ color: oklch(93.3% 0.161 120.7);
Tailwind
colors: {
  custom: {
    50: '#e8fba1',
    500: '#daf976',
    950: '#000000',
  },
}
SCSS
$custom: #daf976;
$custom-light: #e8fba1;
$custom-dark: #000000;
JSON
{
  "hex": "#daf976",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 74.198,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93344,
    "c": 0.16069,
    "h": 120.7
  },
  "luminance": 0.83965
}

Semantic roles & 50–950 ramp

primary
#DAF976
secondary
#623ED5
accent
#00E636
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF976

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

Preview Lab → · Contrast checker → · Palette generator →

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