#DAF987#DAF987

#DAF987 is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.6% C 0.144 H 121.7°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#DAF987
RGBrgb(218, 249, 135)
HSLhsl(76, 90%, 75%)
HSVhsv(76, 46%, 98%)
CMYKcmyk(12.4%, 0%, 45.8%, 2.4%)
CIE-LABlab(93.63, -27.18, 51.14)
CIE-LCHlch(93.63, 57.91, 117.99°)
OKLaboklab(93.56% -0.076 0.1228)
OKLCHoklch(93.56% 0.144 121.7)
XYZxyz(67.1625, 84.4060, 35.6707)
Luminance0.8441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF987 #A687F9
analogous
#F9DF87 #DAF987 #A1F987
triadic
#DAF987 #87DAF9 #F987DA
tetradic
#DAF987 #87F9DF #A687F9 #F987A1
square
#DAF987 #87F9DF #A687F9 #F987A1
split-complementary
#DAF987 #87A1F9 #DF87F9
monochromatic
#B6F312 #C8F64D #DAF987 #ECFCC1 #F6FEE2

Accessibility & contrast

On white

1.17
#DAF987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#DAF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF987
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF987#FFFFFF#000000##000000
##DAF9871.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7D
Deuteranopia (green-blind)
#FFED8D
Tritanopia (blue-blind)
#E2EFDE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #daf987;
/* rgb */ color: rgb(218, 249, 135);
/* oklch */ color: oklch(93.6% 0.144 121.7);
Tailwind
colors: {
  custom: {
    50: '#e7fbac',
    500: '#daf987',
    950: '#000000',
  },
}
SCSS
$custom: #daf987;
$custom-light: #e7fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#daf987",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 76.316,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93559,
    "c": 0.14443,
    "h": 121.7
  },
  "luminance": 0.84406
}

Semantic roles & 50–950 ramp

primary
#DAF987
secondary
#734DD7
accent
#00E63E
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DAF987

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

Preview Lab → · Contrast checker → · Palette generator →

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