#D5F871#D5F871

#D5F871 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.166 H 121.8°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#D5F871
RGBrgb(213, 248, 113)
HSLhsl(76, 91%, 71%)
HSVhsv(76, 54%, 97%)
CMYKcmyk(14.1%, 0%, 54.4%, 2.7%)
CIE-LABlab(92.78, -30.67, 60.12)
CIE-LCHlch(92.78, 67.49, 117.03°)
OKLaboklab(92.72% -0.0873 0.1408)
OKLCHoklch(92.72% 0.166 121.8)
XYZxyz(63.9891, 82.4731, 28.1674)
Luminance0.8247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F871 #9471F8
analogous
#F8D871 #D5F871 #91F871
triadic
#D5F871 #71D5F8 #F871D5
tetradic
#D5F871 #71F8D8 #9471F8 #F87191
square
#D5F871 #71F8D8 #9471F8 #F87191
split-complementary
#D5F871 #7191F8 #D871F8
monochromatic
#ABE30B #C4F537 #D5F871 #E6FBAB #F6FEE2

Accessibility & contrast

On white

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

On black

17.49
#D5F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F871
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F871#FFFFFF#000000##000000
##D5F8711.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5f871;
/* rgb */ color: rgb(213, 248, 113);
/* oklch */ color: oklch(92.7% 0.166 121.8);
Tailwind
colors: {
  custom: {
    50: '#e4fa9e',
    500: '#d5f871',
    950: '#000000',
  },
}
SCSS
$custom: #d5f871;
$custom-light: #e4fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f871",
  "rgb": {
    "r": 213,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 75.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9272,
    "c": 0.1657,
    "h": 121.8
  },
  "luminance": 0.82473
}

Semantic roles & 50–950 ramp

primary
#D5F871
secondary
#623AD3
accent
#00E63C
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D5F871

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

Preview Lab → · Contrast checker → · Palette generator →

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