#D4F871#D4F871

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

Color values

HEX#D4F871
RGBrgb(212, 248, 113)
HSLhsl(76, 91%, 71%)
HSVhsv(76, 54%, 97%)
CMYKcmyk(14.5%, 0%, 54.4%, 2.7%)
CIE-LABlab(92.72, -31.05, 60.03)
CIE-LCHlch(92.72, 67.58, 117.35°)
OKLaboklab(92.65% -0.0884 0.1406)
OKLCHoklch(92.65% 0.166 122.1)
XYZxyz(63.6999, 82.3240, 28.1539)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F871 #9571F8
analogous
#F8D871 #D4F871 #90F871
triadic
#D4F871 #71D4F8 #F871D4
tetradic
#D4F871 #71F8D8 #9571F8 #F87190
square
#D4F871 #71F8D8 #9571F8 #F87190
split-complementary
#D4F871 #7190F8 #D871F8
monochromatic
#AAE30B #C2F537 #D4F871 #E6FBAB #F6FEE2

Accessibility & contrast

On white

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

On black

17.46
#D4F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F871
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F871#FFFFFF#000000##000000
##D4F8711.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4f871;
/* rgb */ color: rgb(212, 248, 113);
/* oklch */ color: oklch(92.7% 0.166 122.1);
Tailwind
colors: {
  custom: {
    50: '#e4fa9e',
    500: '#d4f871',
    950: '#000000',
  },
}
SCSS
$custom: #d4f871;
$custom-light: #e4fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f871",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 76,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9265,
    "c": 0.16608,
    "h": 122.1
  },
  "luminance": 0.82324
}

Semantic roles & 50–950 ramp

primary
#D4F871
secondary
#633AD3
accent
#00E63D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F871

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

Preview Lab → · Contrast checker → · Palette generator →

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