#DAF478#DAF478

#DAF478 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.3% C 0.153 H 119.3°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#DAF478
RGBrgb(218, 244, 120)
HSLhsl(73, 85%, 71%)
HSVhsv(73, 51%, 96%)
CMYKcmyk(10.7%, 0%, 50.8%, 4.3%)
CIE-LABlab(92.12, -26.28, 56.28)
CIE-LCHlch(92.12, 62.12, 115.03°)
OKLaboklab(92.29% -0.0747 0.1331)
OKLCHoklch(92.29% 0.153 119.3)
XYZxyz(64.6549, 80.9632, 29.9870)
Luminance0.8096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF478 #9278F4
analogous
#F4D078 #DAF478 #9CF478
triadic
#DAF478 #78DAF4 #F478DA
tetradic
#DAF478 #78F4D0 #9278F4 #F4789C
square
#DAF478 #78F4D0 #9278F4 #F4789C
split-complementary
#DAF478 #789CF4 #D078F4
monochromatic
#B4DF12 #CAEF3F #DAF478 #EAF9B1 #F7FDE3

Accessibility & contrast

On white

1.22
#DAF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#DAF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF478
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF478#FFFFFF#000000##000000
##DAF4781.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86C
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#E4E9D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #daf478;
/* rgb */ color: rgb(218, 244, 120);
/* oklch */ color: oklch(92.3% 0.153 119.3);
Tailwind
colors: {
  custom: {
    50: '#e7f7a2',
    500: '#daf478',
    950: '#000000',
  },
}
SCSS
$custom: #daf478;
$custom-light: #e7f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#daf478",
  "rgb": {
    "r": 218,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 72.581,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92291,
    "c": 0.15257,
    "h": 119.3
  },
  "luminance": 0.80963
}

Semantic roles & 50–950 ramp

primary
#DAF478
secondary
#5F41CF
accent
#04E132
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF478

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

Preview Lab → · Contrast checker → · Palette generator →

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