#DAF978#DAF978

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

Color values

HEX#DAF978
RGBrgb(218, 249, 120)
HSLhsl(74, 91%, 72%)
HSVhsv(74, 52%, 98%)
CMYKcmyk(12.4%, 0%, 51.8%, 2.4%)
CIE-LABlab(93.46, -28.63, 57.86)
CIE-LCHlch(93.46, 64.56, 116.32°)
OKLaboklab(93.37% -0.0813 0.1365)
OKLCHoklch(93.37% 0.159 120.8)
XYZxyz(66.1798, 84.0130, 30.4953)
Luminance0.8401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF978 #9778F9
analogous
#F9D878 #DAF978 #99F978
triadic
#DAF978 #78DAF9 #F978DA
tetradic
#DAF978 #78F9D8 #9778F9 #F97899
square
#DAF978 #78F9D8 #9778F9 #F97899
split-complementary
#DAF978 #7899F9 #D878F9
monochromatic
#B6EC0A #CAF63D #DAF978 #EAFCB3 #F7FEE2

Accessibility & contrast

On white

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

On black

17.80
#DAF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF978
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF978#FFFFFF#000000##000000
##DAF9781.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #daf978;
/* rgb */ color: rgb(218, 249, 120);
/* oklch */ color: oklch(93.4% 0.159 120.8);
Tailwind
colors: {
  custom: {
    50: '#e8fba2',
    500: '#daf978',
    950: '#000000',
  },
}
SCSS
$custom: #daf978;
$custom-light: #e8fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#daf978",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 74.419,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93367,
    "c": 0.15886,
    "h": 120.8
  },
  "luminance": 0.84013
}

Semantic roles & 50–950 ramp

primary
#DAF978
secondary
#6440D5
accent
#00E637
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF978

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

Preview Lab → · Contrast checker → · Palette generator →

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