#D1F987#D1F987

#D1F987 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 92.9% C 0.148 H 125.1°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#D1F987
RGBrgb(209, 249, 135)
HSLhsl(81, 90%, 75%)
HSVhsv(81, 46%, 98%)
CMYKcmyk(16.1%, 0%, 45.8%, 2.4%)
CIE-LABlab(93.04, -30.51, 50.28)
CIE-LCHlch(93.04, 58.82, 121.25°)
OKLaboklab(92.94% -0.0849 0.121)
OKLCHoklch(92.94% 0.148 125.1)
XYZxyz(64.5432, 83.0555, 35.5479)
Luminance0.8306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F987 #AF87F9
analogous
#F9E887 #D1F987 #98F987
triadic
#D1F987 #87D1F9 #F987D1
tetradic
#D1F987 #87F9E8 #AF87F9 #F98798
square
#D1F987 #87F9E8 #AF87F9 #F98798
split-complementary
#D1F987 #8798F9 #E887F9
monochromatic
#A4F312 #BBF64D #D1F987 #E7FCC1 #F4FEE2

Accessibility & contrast

On white

1.19
#D1F987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#D1F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F987
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F987#FFFFFF#000000##000000
##D1F9871.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FEEB8D
Tritanopia (blue-blind)
#D8F0DE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d1f987;
/* rgb */ color: rgb(209, 249, 135);
/* oklch */ color: oklch(92.9% 0.148 125.1);
Tailwind
colors: {
  custom: {
    50: '#e1fbac',
    500: '#d1f987',
    950: '#000000',
  },
}
SCSS
$custom: #d1f987;
$custom-light: #e1fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f987",
  "rgb": {
    "r": 209,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 81.053,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92938,
    "c": 0.14784,
    "h": 125.1
  },
  "luminance": 0.83056
}

Semantic roles & 50–950 ramp

primary
#D1F987
secondary
#7E4DD7
accent
#00E651
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #D1F987

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

Preview Lab → · Contrast checker → · Palette generator →

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