#D2FA87#D2FA87

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

Color values

HEX#D2FA87
RGBrgb(210, 250, 135)
HSLhsl(81, 92%, 75%)
HSVhsv(81, 46%, 98%)
CMYKcmyk(16%, 0%, 46%, 2%)
CIE-LABlab(93.37, -30.61, 50.71)
CIE-LCHlch(93.37, 59.23, 121.12°)
OKLaboklab(93.22% -0.0852 0.122)
OKLCHoklch(93.22% 0.149 125)
XYZxyz(65.1370, 83.8216, 35.6645)
Luminance0.8382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA87 #AF87FA
analogous
#FAE987 #D2FA87 #98FA87
triadic
#D2FA87 #87D2FA #FA87D2
tetradic
#D2FA87 #87FAE9 #AF87FA #FA8798
square
#D2FA87 #87FAE9 #AF87FA #FA8798
split-complementary
#D2FA87 #8798FA #E987FA
monochromatic
#A6F511 #BCF84C #D2FA87 #E8FCC2 #F4FEE2

Accessibility & contrast

On white

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

On black

17.76
#D2FA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA87
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA87#FFFFFF#000000##000000
##D2FA871.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2fa87;
/* rgb */ color: rgb(210, 250, 135);
/* oklch */ color: oklch(93.2% 0.149 125.0);
Tailwind
colors: {
  custom: {
    50: '#e1fcac',
    500: '#d2fa87',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa87;
$custom-light: #e1fcac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa87",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 80.87,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93223,
    "c": 0.1488,
    "h": 125
  },
  "luminance": 0.83822
}

Semantic roles & 50–950 ramp

primary
#D2FA87
secondary
#7D4DD8
accent
#00E650
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2FA87

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

Preview Lab → · Contrast checker → · Palette generator →

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