#DAF778#DAF778

#DAF778 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.9% C 0.156 H 120.2°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#DAF778
RGBrgb(218, 247, 120)
HSLhsl(74, 89%, 72%)
HSVhsv(74, 51%, 97%)
CMYKcmyk(11.7%, 0%, 51.4%, 3.1%)
CIE-LABlab(92.92, -27.69, 57.23)
CIE-LCHlch(92.92, 63.58, 115.82°)
OKLaboklab(92.94% -0.0786 0.1351)
OKLCHoklch(92.94% 0.156 120.2)
XYZxyz(65.5649, 82.7832, 30.2904)
Luminance0.8278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF778 #9578F7
analogous
#F7D578 #DAF778 #9BF778
triadic
#DAF778 #78DAF7 #F778DA
tetradic
#DAF778 #78F7D5 #9578F7 #F7789B
square
#DAF778 #78F7D5 #9578F7 #F7789B
split-complementary
#DAF778 #789BF7 #D578F7
monochromatic
#B5E70E #CAF43E #DAF778 #EAFAB2 #F7FDE2

Accessibility & contrast

On white

1.20
#DAF778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#DAF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF778
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF778#FFFFFF#000000##000000
##DAF7781.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#E4ECDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf778;
/* rgb */ color: rgb(218, 247, 120);
/* oklch */ color: oklch(92.9% 0.156 120.2);
Tailwind
colors: {
  custom: {
    50: '#e7f9a2',
    500: '#daf778',
    950: '#000000',
  },
}
SCSS
$custom: #daf778;
$custom-light: #e7f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#daf778",
  "rgb": {
    "r": 218,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 73.701,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92936,
    "c": 0.15634,
    "h": 120.2
  },
  "luminance": 0.82783
}

Semantic roles & 50–950 ramp

primary
#DAF778
secondary
#6241D3
accent
#00E534
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF778

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

Preview Lab → · Contrast checker → · Palette generator →

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