#DAFE78#DAFE78

#DAFE78 is a very light, vivid yellow-green. Relative luminance 0.871; OKLCH L 94.4% C 0.165 H 122.1°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#DAFE78
RGBrgb(218, 254, 120)
HSLhsl(76, 99%, 73%)
HSVhsv(76, 53%, 100%)
CMYKcmyk(14.2%, 0%, 52.8%, 0.4%)
CIE-LABlab(94.80, -30.95, 59.44)
CIE-LCHlch(94.80, 67.01, 117.51°)
OKLaboklab(94.45% -0.0878 0.1399)
OKLCHoklch(94.45% 0.165 122.1)
XYZxyz(67.7458, 87.1450, 31.0173)
Luminance0.8714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFE78 #9C78FE
analogous
#FEDF78 #DAFE78 #97FE78
triadic
#DAFE78 #78DAFE #FE78DA
tetradic
#DAFE78 #78FEDF #9C78FE #FE7897
square
#DAFE78 #78FEDF #9C78FE #FE7897
split-complementary
#DAFE78 #7897FE #DF78FE
monochromatic
#B7FA02 #C9FE3B #DAFE78 #EBFEB5 #F7FFE1

Accessibility & contrast

On white

1.14
#DAFE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#DAFE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFE78
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFE78#FFFFFF#000000##000000
##DAFE781.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16B
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#E3F3E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #dafe78;
/* rgb */ color: rgb(218, 254, 120);
/* oklch */ color: oklch(94.4% 0.165 122.1);
Tailwind
colors: {
  custom: {
    50: '#e8fea2',
    500: '#dafe78',
    950: '#000000',
  },
}
SCSS
$custom: #dafe78;
$custom-light: #e8fea2;
$custom-dark: #000000;
JSON
{
  "hex": "#dafe78",
  "rgb": {
    "r": 218,
    "g": 254,
    "b": 120
  },
  "hsl": {
    "h": 76.119,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94447,
    "c": 0.16517,
    "h": 122.1
  },
  "luminance": 0.87145
}

Semantic roles & 50–950 ramp

primary
#DAFE78
secondary
#693FDC
accent
#00E63E
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAFE78

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

Preview Lab → · Contrast checker → · Palette generator →

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