#D7F781#D7F781

#D7F781 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.8% C 0.149 H 121.8°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#D7F781
RGBrgb(215, 247, 129)
HSLhsl(76, 88%, 74%)
HSVhsv(76, 48%, 97%)
CMYKcmyk(13%, 0%, 47.8%, 3.1%)
CIE-LABlab(92.82, -27.97, 52.92)
CIE-LCHlch(92.82, 59.86, 117.86°)
OKLaboklab(92.84% -0.0785 0.1264)
OKLCHoklch(92.84% 0.149 121.8)
XYZxyz(65.2478, 82.5535, 33.2617)
Luminance0.8255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F781 #A181F7
analogous
#F7DC81 #D7F781 #9CF781
triadic
#D7F781 #81D7F7 #F781D7
tetradic
#D7F781 #81F7DC #A181F7 #F7819C
square
#D7F781 #81F7DC #A181F7 #F7819C
split-complementary
#D7F781 #819CF7 #DC81F7
monochromatic
#B2EE0F #C5F347 #D7F781 #E9FBBB #F6FDE2

Accessibility & contrast

On white

1.20
#D7F781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#D7F781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F781
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F781#FFFFFF#000000##000000
##D7F7811.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFEA88
Tritanopia (blue-blind)
#E0EDDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d7f781;
/* rgb */ color: rgb(215, 247, 129);
/* oklch */ color: oklch(92.8% 0.149 121.8);
Tailwind
colors: {
  custom: {
    50: '#e5faa8',
    500: '#d7f781',
    950: '#000000',
  },
}
SCSS
$custom: #d7f781;
$custom-light: #e5faa8;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f781",
  "rgb": {
    "r": 215,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 76.271,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92837,
    "c": 0.14881,
    "h": 121.8
  },
  "luminance": 0.82554
}

Semantic roles & 50–950 ramp

primary
#D7F781
secondary
#6E49D4
accent
#01E53F
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D7F781

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

Preview Lab → · Contrast checker → · Palette generator →

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