#DAF87F#DAF87F

#DAF87F is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.2% C 0.151 H 120.9°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#DAF87F
RGBrgb(218, 248, 127)
HSLhsl(75, 90%, 74%)
HSVhsv(75, 49%, 97%)
CMYKcmyk(12.1%, 0%, 48.8%, 2.7%)
CIE-LABlab(93.26, -27.51, 54.44)
CIE-LCHlch(93.26, 60.99, 116.81°)
OKLaboklab(93.24% -0.0775 0.1296)
OKLCHoklch(93.24% 0.151 120.9)
XYZxyz(66.3120, 83.5726, 32.7123)
Luminance0.8357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF87F #9D7FF8
analogous
#F8D97F #DAF87F #9DF87F
triadic
#DAF87F #7FDAF8 #F87FDA
tetradic
#DAF87F #7FF8D9 #9D7FF8 #F87F9D
square
#DAF87F #7FF8D9 #9D7FF8 #F87F9D
split-complementary
#DAF87F #7F9DF8 #D97FF8
monochromatic
#B7F00D #C9F545 #DAF87F #EBFBB9 #F7FDE2

Accessibility & contrast

On white

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

On black

17.71
#DAF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF87F
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF87F#FFFFFF#000000##000000
##DAF87F1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC74
Deuteranopia (green-blind)
#FFEC86
Tritanopia (blue-blind)
#E3EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf87f;
/* rgb */ color: rgb(218, 248, 127);
/* oklch */ color: oklch(93.2% 0.151 120.9);
Tailwind
colors: {
  custom: {
    50: '#e7faa7',
    500: '#daf87f',
    950: '#000000',
  },
}
SCSS
$custom: #daf87f;
$custom-light: #e7faa7;
$custom-dark: #000000;
JSON
{
  "hex": "#daf87f",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 74.876,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93238,
    "c": 0.151,
    "h": 120.9
  },
  "luminance": 0.83573
}

Semantic roles & 50–950 ramp

primary
#DAF87F
secondary
#6A46D5
accent
#00E639
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #DAF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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