#D3F871#D3F871

#D3F871 is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.6% C 0.166 H 122.5°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#D3F871
RGBrgb(211, 248, 113)
HSLhsl(76, 91%, 71%)
HSVhsv(76, 54%, 97%)
CMYKcmyk(14.9%, 0%, 54.4%, 2.7%)
CIE-LABlab(92.65, -31.43, 59.94)
CIE-LCHlch(92.65, 67.68, 117.67°)
OKLaboklab(92.58% -0.0894 0.1404)
OKLCHoklch(92.58% 0.166 122.5)
XYZxyz(63.4124, 82.1758, 28.1404)
Luminance0.8218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3F871 #9671F8
analogous
#F8D971 #D3F871 #8FF871
triadic
#D3F871 #71D3F8 #F871D3
tetradic
#D3F871 #71F8D9 #9671F8 #F8718F
square
#D3F871 #71F8D9 #9671F8 #F8718F
split-complementary
#D3F871 #718FF8 #D971F8
monochromatic
#A8E30B #C1F537 #D3F871 #E5FBAB #F6FEE2

Accessibility & contrast

On white

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

On black

17.44
#D3F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3F871
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3F871#FFFFFF#000000##000000
##D3F8711.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#DCEDDA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d3f871;
/* rgb */ color: rgb(211, 248, 113);
/* oklch */ color: oklch(92.6% 0.166 122.5);
Tailwind
colors: {
  custom: {
    50: '#e3fa9e',
    500: '#d3f871',
    950: '#000000',
  },
}
SCSS
$custom: #d3f871;
$custom-light: #e3fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3f871",
  "rgb": {
    "r": 211,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 76.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92581,
    "c": 0.16646,
    "h": 122.5
  },
  "luminance": 0.82176
}

Semantic roles & 50–950 ramp

primary
#D3F871
secondary
#643AD3
accent
#00E63F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D3F871

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

Preview Lab → · Contrast checker → · Palette generator →

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