#DAF878#DAF878

#DAF878 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.2% C 0.158 H 120.5°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#DAF878
RGBrgb(218, 248, 120)
HSLhsl(74, 90%, 72%)
HSVhsv(74, 52%, 97%)
CMYKcmyk(12.1%, 0%, 51.6%, 2.7%)
CIE-LABlab(93.19, -28.16, 57.55)
CIE-LCHlch(93.19, 64.07, 116.07°)
OKLaboklab(93.15% -0.08 0.1358)
OKLCHoklch(93.15% 0.158 120.5)
XYZxyz(65.8715, 83.3965, 30.3926)
Luminance0.8340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF878 #9678F8
analogous
#F8D678 #DAF878 #9AF878
triadic
#DAF878 #78DAF8 #F878DA
tetradic
#DAF878 #78F8D6 #9678F8 #F8789A
square
#DAF878 #78F8D6 #9678F8 #F8789A
split-complementary
#DAF878 #789AF8 #D678F8
monochromatic
#B6E90C #CAF53E #DAF878 #EAFBB2 #F7FDE2

Accessibility & contrast

On white

1.19
#DAF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#DAF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF878
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF878#FFFFFF#000000##000000
##DAF8781.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#E4EDDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf878;
/* rgb */ color: rgb(218, 248, 120);
/* oklch */ color: oklch(93.2% 0.158 120.5);
Tailwind
colors: {
  custom: {
    50: '#e7faa2',
    500: '#daf878',
    950: '#000000',
  },
}
SCSS
$custom: #daf878;
$custom-light: #e7faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#daf878",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 74.063,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93152,
    "c": 0.1576,
    "h": 120.5
  },
  "luminance": 0.83396
}

Semantic roles & 50–950 ramp

primary
#DAF878
secondary
#6340D4
accent
#00E636
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF878

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

Preview Lab → · Contrast checker → · Palette generator →

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