#DAFE87#DAFE87

#DAFE87 is a very light, vivid yellow-green. Relative luminance 0.875; OKLCH L 94.6% C 0.151 H 123.1°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#DAFE87
RGBrgb(218, 254, 135)
HSLhsl(78, 98%, 76%)
HSVhsv(78, 47%, 100%)
CMYKcmyk(14.2%, 0%, 46.9%, 0.4%)
CIE-LABlab(94.97, -29.52, 52.78)
CIE-LCHlch(94.97, 60.47, 119.22°)
OKLaboklab(94.63% -0.0825 0.1265)
OKLCHoklch(94.63% 0.151 123.1)
XYZxyz(68.7285, 87.5381, 36.1927)
Luminance0.8754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFE87 #AB87FE
analogous
#FEE687 #DAFE87 #9FFE87
triadic
#DAFE87 #87DAFE #FE87DA
tetradic
#DAFE87 #87FEE6 #AB87FE #FE879F
square
#DAFE87 #87FEE6 #AB87FE #FE879F
split-complementary
#DAFE87 #879FFE #E687FE
monochromatic
#B5FD0E #C7FD4A #DAFE87 #EDFFC4 #F6FFE1

Accessibility & contrast

On white

1.13
#DAFE87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#DAFE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFE87
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFE87#FFFFFF#000000##000000
##DAFE871.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17D
Deuteranopia (green-blind)
#FFF08E
Tritanopia (blue-blind)
#E2F4E2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #dafe87;
/* rgb */ color: rgb(218, 254, 135);
/* oklch */ color: oklch(94.6% 0.151 123.1);
Tailwind
colors: {
  custom: {
    50: '#e7feac',
    500: '#dafe87',
    950: '#000000',
  },
}
SCSS
$custom: #dafe87;
$custom-light: #e7feac;
$custom-dark: #000000;
JSON
{
  "hex": "#dafe87",
  "rgb": {
    "r": 218,
    "g": 254,
    "b": 135
  },
  "hsl": {
    "h": 78.151,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.94634,
    "c": 0.15104,
    "h": 123.1
  },
  "luminance": 0.87538
}

Semantic roles & 50–950 ramp

primary
#DAFE87
secondary
#784BDE
accent
#00E645
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DAFE87

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

Preview Lab → · Contrast checker → · Palette generator →

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