#DAF979#DAF979

#DAF979 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.4% C 0.158 H 120.8°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#DAF979
RGBrgb(218, 249, 121)
HSLhsl(75, 91%, 73%)
HSVhsv(75, 51%, 98%)
CMYKcmyk(12.4%, 0%, 51.4%, 2.4%)
CIE-LABlab(93.47, -28.54, 57.42)
CIE-LCHlch(93.47, 64.12, 116.43°)
OKLaboklab(93.38% -0.0809 0.1356)
OKLCHoklch(93.38% 0.158 120.8)
XYZxyz(66.2408, 84.0374, 30.8166)
Luminance0.8404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF979 #9879F9
analogous
#F9D879 #DAF979 #9AF979
triadic
#DAF979 #79DAF9 #F979DA
tetradic
#DAF979 #79F9D8 #9879F9 #F9799A
square
#DAF979 #79F9D8 #9879F9 #F9799A
split-complementary
#DAF979 #799AF9 #D879F9
monochromatic
#B6ED0B #CAF63E #DAF979 #EAFCB4 #F7FEE2

Accessibility & contrast

On white

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

On black

17.81
#DAF979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF979
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF979#FFFFFF#000000##000000
##DAF9791.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #daf979;
/* rgb */ color: rgb(218, 249, 121);
/* oklch */ color: oklch(93.4% 0.158 120.8);
Tailwind
colors: {
  custom: {
    50: '#e7fba3',
    500: '#daf979',
    950: '#000000',
  },
}
SCSS
$custom: #daf979;
$custom-light: #e7fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#daf979",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 74.531,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93379,
    "c": 0.15794,
    "h": 120.8
  },
  "luminance": 0.84037
}

Semantic roles & 50–950 ramp

primary
#DAF979
secondary
#6541D5
accent
#00E638
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF979

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

Preview Lab → · Contrast checker → · Palette generator →

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