#D7F971#D7F971

#D7F971 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.1% C 0.166 H 121.4°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#D7F971
RGBrgb(215, 249, 113)
HSLhsl(75, 92%, 71%)
HSVhsv(75, 55%, 98%)
CMYKcmyk(13.7%, 0%, 54.6%, 2.4%)
CIE-LABlab(93.19, -30.38, 60.62)
CIE-LCHlch(93.19, 67.80, 116.62°)
OKLaboklab(93.08% -0.0866 0.1419)
OKLCHoklch(93.08% 0.166 121.4)
XYZxyz(64.8812, 83.3907, 28.2975)
Luminance0.8339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F971 #9371F9
analogous
#F9D771 #D7F971 #93F971
triadic
#D7F971 #71D7F9 #F971D7
tetradic
#D7F971 #71F9D7 #9371F9 #F97193
square
#D7F971 #71F9D7 #9371F9 #F97193
split-complementary
#D7F971 #7193F9 #D771F9
monochromatic
#AFE60A #C6F736 #D7F971 #E8FBAC #F7FEE2

Accessibility & contrast

On white

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

On black

17.68
#D7F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F971
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F971#FFFFFF#000000##000000
##D7F9711.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#E1EEDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d7f971;
/* rgb */ color: rgb(215, 249, 113);
/* oklch */ color: oklch(93.1% 0.166 121.4);
Tailwind
colors: {
  custom: {
    50: '#e6fb9e',
    500: '#d7f971',
    950: '#000000',
  },
}
SCSS
$custom: #d7f971;
$custom-light: #e6fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f971",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 75,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93076,
    "c": 0.16622,
    "h": 121.4
  },
  "luminance": 0.83391
}

Semantic roles & 50–950 ramp

primary
#D7F971
secondary
#613AD4
accent
#00E639
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F971

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

Preview Lab → · Contrast checker → · Palette generator →

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