#DAF787#DAF787

#DAF787 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.1% C 0.142 H 121.1°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#DAF787
RGBrgb(218, 247, 135)
HSLhsl(76, 88%, 75%)
HSVhsv(76, 45%, 97%)
CMYKcmyk(11.7%, 0%, 45.3%, 3.1%)
CIE-LABlab(93.09, -26.24, 50.48)
CIE-LCHlch(93.09, 56.89, 117.46°)
OKLaboklab(93.13% -0.0733 0.1214)
OKLCHoklch(93.13% 0.142 121.1)
XYZxyz(66.5476, 83.1763, 35.4658)
Luminance0.8318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF787 #A487F7
analogous
#F7DC87 #DAF787 #A2F787
triadic
#DAF787 #87DAF7 #F787DA
tetradic
#DAF787 #87F7DC #A487F7 #F787A2
square
#DAF787 #87F7DC #A487F7 #F787A2
split-complementary
#DAF787 #87A2F7 #DC87F7
monochromatic
#B7EF14 #C8F34E #DAF787 #ECFBC0 #F6FDE2

Accessibility & contrast

On white

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

On black

17.64
#DAF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF787
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF787#FFFFFF#000000##000000
##DAF7871.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFEB8D
Tritanopia (blue-blind)
#E3EDDD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf787;
/* rgb */ color: rgb(218, 247, 135);
/* oklch */ color: oklch(93.1% 0.142 121.1);
Tailwind
colors: {
  custom: {
    50: '#e7f9ac',
    500: '#daf787',
    950: '#000000',
  },
}
SCSS
$custom: #daf787;
$custom-light: #e7f9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#daf787",
  "rgb": {
    "r": 218,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 75.536,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9313,
    "c": 0.1418,
    "h": 121.1
  },
  "luminance": 0.83176
}

Semantic roles & 50–950 ramp

primary
#DAF787
secondary
#714ED4
accent
#01E43C
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DAF787

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

Preview Lab → · Contrast checker → · Palette generator →

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