#D7F871#D7F871

#D7F871 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.9% C 0.165 H 121.2°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#D7F871
RGBrgb(215, 248, 113)
HSLhsl(75, 91%, 71%)
HSVhsv(75, 54%, 97%)
CMYKcmyk(13.3%, 0%, 54.4%, 2.7%)
CIE-LABlab(92.92, -29.91, 60.31)
CIE-LCHlch(92.92, 67.32, 116.38°)
OKLaboklab(92.86% -0.0853 0.1412)
OKLCHoklch(92.86% 0.165 121.2)
XYZxyz(64.5729, 82.7742, 28.1948)
Luminance0.8277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F871 #9271F8
analogous
#F8D671 #D7F871 #93F871
triadic
#D7F871 #71D7F8 #F871D7
tetradic
#D7F871 #71F8D6 #9271F8 #F87193
square
#D7F871 #71F8D6 #9271F8 #F87193
split-complementary
#D7F871 #7193F8 #D671F8
monochromatic
#AFE30B #C7F537 #D7F871 #E7FBAB #F7FEE2

Accessibility & contrast

On white

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

On black

17.55
#D7F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F871
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F871#FFFFFF#000000##000000
##D7F8711.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#E1EDDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d7f871;
/* rgb */ color: rgb(215, 248, 113);
/* oklch */ color: oklch(92.9% 0.165 121.2);
Tailwind
colors: {
  custom: {
    50: '#e6fa9e',
    500: '#d7f871',
    950: '#000000',
  },
}
SCSS
$custom: #d7f871;
$custom-light: #e6fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f871",
  "rgb": {
    "r": 215,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 74.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92859,
    "c": 0.16497,
    "h": 121.2
  },
  "luminance": 0.82774
}

Semantic roles & 50–950 ramp

primary
#D7F871
secondary
#603AD3
accent
#00E638
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F871

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

Preview Lab → · Contrast checker → · Palette generator →

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