#DAF87D#DAF87D

#DAF87D is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.2% C 0.153 H 120.8°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#DAF87D
RGBrgb(218, 248, 125)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 50%, 97%)
CMYKcmyk(12.1%, 0%, 49.6%, 2.7%)
CIE-LABlab(93.24, -27.70, 55.33)
CIE-LCHlch(93.24, 61.88, 116.59°)
OKLaboklab(93.21% -0.0782 0.1314)
OKLCHoklch(93.21% 0.153 120.8)
XYZxyz(66.1829, 83.5210, 32.0326)
Luminance0.8352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF87D #9B7DF8
analogous
#F8D87D #DAF87D #9CF87D
triadic
#DAF87D #7DDAF8 #F87DDA
tetradic
#DAF87D #7DF8D8 #9B7DF8 #F87D9C
square
#DAF87D #7DF8D8 #9B7DF8 #F87D9C
split-complementary
#DAF87D #7D9CF8 #D87DF8
monochromatic
#B7EE0D #C9F543 #DAF87D #EBFBB7 #F7FDE2

Accessibility & contrast

On white

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

On black

17.70
#DAF87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF87D
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF87D#FFFFFF#000000##000000
##DAF87D1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #daf87d;
/* rgb */ color: rgb(218, 248, 125);
/* oklch */ color: oklch(93.2% 0.153 120.8);
Tailwind
colors: {
  custom: {
    50: '#e7faa5',
    500: '#daf87d',
    950: '#000000',
  },
}
SCSS
$custom: #daf87d;
$custom-light: #e7faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#daf87d",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 74.634,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93213,
    "c": 0.15292,
    "h": 120.8
  },
  "luminance": 0.83521
}

Semantic roles & 50–950 ramp

primary
#DAF87D
secondary
#6845D4
accent
#00E638
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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