#D1FA87#D1FA87

#D1FA87 is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.2% C 0.149 H 125.3°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#D1FA87
RGBrgb(209, 250, 135)
HSLhsl(81, 92%, 75%)
HSVhsv(81, 46%, 98%)
CMYKcmyk(16.4%, 0%, 46%, 2%)
CIE-LABlab(93.31, -30.98, 50.62)
CIE-LCHlch(93.31, 59.34, 121.47°)
OKLaboklab(93.16% -0.0862 0.1218)
OKLCHoklch(93.16% 0.149 125.3)
XYZxyz(64.8531, 83.6753, 35.6512)
Luminance0.8368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FA87 #B087FA
analogous
#FAE987 #D1FA87 #97FA87
triadic
#D1FA87 #87D1FA #FA87D1
tetradic
#D1FA87 #87FAE9 #B087FA #FA8797
square
#D1FA87 #87FAE9 #B087FA #FA8797
split-complementary
#D1FA87 #8797FA #E987FA
monochromatic
#A4F511 #BAF84C #D1FA87 #E8FCC2 #F4FEE2

Accessibility & contrast

On white

1.18
#D1FA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#D1FA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1FA87
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1FA87#FFFFFF#000000##000000
##D1FA871.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7D
Deuteranopia (green-blind)
#FFEB8D
Tritanopia (blue-blind)
#D8F1DF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d1fa87;
/* rgb */ color: rgb(209, 250, 135);
/* oklch */ color: oklch(93.2% 0.149 125.3);
Tailwind
colors: {
  custom: {
    50: '#e1fcac',
    500: '#d1fa87',
    950: '#000000',
  },
}
SCSS
$custom: #d1fa87;
$custom-light: #e1fcac;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fa87",
  "rgb": {
    "r": 209,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 81.391,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93156,
    "c": 0.1492,
    "h": 125.3
  },
  "luminance": 0.83676
}

Semantic roles & 50–950 ramp

primary
#D1FA87
secondary
#7F4DD8
accent
#00E652
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #D1FA87

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

Preview Lab → · Contrast checker → · Palette generator →

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