#D7F986#D7F986

#D7F986 is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.3% C 0.147 H 122.8°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#D7F986
RGBrgb(215, 249, 134)
HSLhsl(78, 91%, 75%)
HSVhsv(78, 46%, 98%)
CMYKcmyk(13.7%, 0%, 46.2%, 2.4%)
CIE-LABlab(93.42, -28.40, 51.31)
CIE-LCHlch(93.42, 58.64, 118.97°)
OKLaboklab(93.34% -0.0793 0.1232)
OKLCHoklch(93.34% 0.147 122.8)
XYZxyz(66.2032, 83.9195, 35.2600)
Luminance0.8392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F986 #A886F9
analogous
#F9E186 #D7F986 #9EF986
triadic
#D7F986 #86D7F9 #F986D7
tetradic
#D7F986 #86F9E1 #A886F9 #F9869E
square
#D7F986 #86F9E1 #A886F9 #F9869E
split-complementary
#D7F986 #869EF9 #E186F9
monochromatic
#B0F311 #C4F64C #D7F986 #EAFCC0 #F5FEE2

Accessibility & contrast

On white

1.18
#D7F986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#D7F986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F986
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F986#FFFFFF#000000##000000
##D7F9861.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7C
Deuteranopia (green-blind)
#FFEC8C
Tritanopia (blue-blind)
#DFEFDE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d7f986;
/* rgb */ color: rgb(215, 249, 134);
/* oklch */ color: oklch(93.3% 0.147 122.8);
Tailwind
colors: {
  custom: {
    50: '#e5fbab',
    500: '#d7f986',
    950: '#000000',
  },
}
SCSS
$custom: #d7f986;
$custom-light: #e5fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f986",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 134
  },
  "hsl": {
    "h": 77.739,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.93336,
    "c": 0.14652,
    "h": 122.8
  },
  "luminance": 0.8392
}

Semantic roles & 50–950 ramp

primary
#D7F986
secondary
#754CD7
accent
#00E644
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D7F986

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

Preview Lab → · Contrast checker → · Palette generator →

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