#D7F581#D7F581

#D7F581 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.4% C 0.146 H 121.3°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#D7F581
RGBrgb(215, 245, 129)
HSLhsl(76, 85%, 73%)
HSVhsv(76, 47%, 96%)
CMYKcmyk(12.2%, 0%, 47.3%, 3.9%)
CIE-LABlab(92.28, -27.03, 52.27)
CIE-LCHlch(92.28, 58.84, 117.34°)
OKLaboklab(92.41% -0.0759 0.125)
OKLCHoklch(92.41% 0.146 121.3)
XYZxyz(64.6395, 81.3369, 33.0589)
Luminance0.8134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F581 #9F81F5
analogous
#F5D981 #D7F581 #9DF581
triadic
#D7F581 #81D7F5 #F581D7
tetradic
#D7F581 #81F5D9 #9F81F5 #F5819D
square
#D7F581 #81F5D9 #9F81F5 #F5819D
split-complementary
#D7F581 #819DF5 #D981F5
monochromatic
#B2E913 #C5F048 #D7F581 #E9F9BA #F6FDE3

Accessibility & contrast

On white

1.22
#D7F581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#D7F581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F581
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F581#FFFFFF#000000##000000
##D7F5811.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FDE987
Tritanopia (blue-blind)
#E0EBDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d7f581;
/* rgb */ color: rgb(215, 245, 129);
/* oklch */ color: oklch(92.4% 0.146 121.3);
Tailwind
colors: {
  custom: {
    50: '#e5f8a8',
    500: '#d7f581',
    950: '#000000',
  },
}
SCSS
$custom: #d7f581;
$custom-light: #e5f8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f581",
  "rgb": {
    "r": 215,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 75.517,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92406,
    "c": 0.14621,
    "h": 121.3
  },
  "luminance": 0.81337
}

Semantic roles & 50–950 ramp

primary
#D7F581
secondary
#6C49D1
accent
#04E23D
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D7F581

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

Preview Lab → · Contrast checker → · Palette generator →

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