#D7F371#D7F371

#D7F371 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.8% C 0.159 H 119.8°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#D7F371
RGBrgb(215, 243, 113)
HSLhsl(73, 84%, 70%)
HSVhsv(73, 53%, 95%)
CMYKcmyk(11.5%, 0%, 53.5%, 4.7%)
CIE-LABlab(91.57, -27.58, 58.75)
CIE-LCHlch(91.57, 64.90, 115.14°)
OKLaboklab(91.78% -0.0788 0.1378)
OKLCHoklch(91.78% 0.159 119.8)
XYZxyz(63.0562, 79.7408, 27.6892)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F371 #8D71F3
analogous
#F3CE71 #D7F371 #96F371
triadic
#D7F371 #71D7F3 #F371D7
tetradic
#D7F371 #71F3CE #8D71F3 #F37196
square
#D7F371 #71F3CE #8D71F3 #F37196
split-complementary
#D7F371 #7196F3 #CE71F3
monochromatic
#ADD712 #C7EE39 #D7F371 #E7F8A9 #F7FDE2

Accessibility & contrast

On white

1.24
#D7F371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#D7F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F371
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F371#FFFFFF#000000##000000
##D7F3711.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#E1E8D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d7f371;
/* rgb */ color: rgb(215, 243, 113);
/* oklch */ color: oklch(91.8% 0.159 119.8);
Tailwind
colors: {
  custom: {
    50: '#e6f79d',
    500: '#d7f371',
    950: '#000000',
  },
}
SCSS
$custom: #d7f371;
$custom-light: #e6f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f371",
  "rgb": {
    "r": 215,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 72.923,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91777,
    "c": 0.15876,
    "h": 119.8
  },
  "luminance": 0.79741
}

Semantic roles & 50–950 ramp

primary
#D7F371
secondary
#5B3BCD
accent
#05E134
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F371

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

Preview Lab → · Contrast checker → · Palette generator →

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