#DAF178#DAF178

#DAF178 is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.6% C 0.149 H 118.3°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#DAF178
RGBrgb(218, 241, 120)
HSLhsl(71, 81%, 71%)
HSVhsv(71, 50%, 95%)
CMYKcmyk(9.5%, 0%, 50.2%, 5.5%)
CIE-LABlab(91.31, -24.86, 55.33)
CIE-LCHlch(91.31, 60.66, 114.19°)
OKLaboklab(91.65% -0.0706 0.131)
OKLCHoklch(91.65% 0.149 118.3)
XYZxyz(63.7596, 79.1725, 29.6886)
Luminance0.7917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF178 #8F78F1
analogous
#F1CB78 #DAF178 #9DF178
triadic
#DAF178 #78DAF1 #F178DA
tetradic
#DAF178 #78F1CB #8F78F1 #F1789D
square
#DAF178 #78F1CB #8F78F1 #F1789D
split-complementary
#DAF178 #789DF1 #CB78F1
monochromatic
#B3D816 #CBEB41 #DAF178 #E9F7AF #F7FCE3

Accessibility & contrast

On white

1.25
#DAF178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#DAF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF178
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF178#FFFFFF#000000##000000
##DAF1781.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#E4E6D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf178;
/* rgb */ color: rgb(218, 241, 120);
/* oklch */ color: oklch(91.6% 0.149 118.3);
Tailwind
colors: {
  custom: {
    50: '#e7f5a2',
    500: '#daf178',
    950: '#000000',
  },
}
SCSS
$custom: #daf178;
$custom-light: #e7f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#daf178",
  "rgb": {
    "r": 218,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 71.405,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91648,
    "c": 0.14882,
    "h": 118.3
  },
  "luminance": 0.79172
}

Semantic roles & 50–950 ramp

primary
#DAF178
secondary
#5C42CB
accent
#08DE31
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF178

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

Preview Lab → · Contrast checker → · Palette generator →

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