#D3F987#D3F987

#D3F987 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.1% C 0.147 H 124.3°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#D3F987
RGBrgb(211, 249, 135)
HSLhsl(80, 90%, 75%)
HSVhsv(80, 46%, 98%)
CMYKcmyk(15.3%, 0%, 45.8%, 2.4%)
CIE-LABlab(93.17, -29.78, 50.47)
CIE-LCHlch(93.17, 58.60, 120.54°)
OKLaboklab(93.07% -0.0829 0.1214)
OKLCHoklch(93.07% 0.147 124.3)
XYZxyz(65.1127, 83.3491, 35.5746)
Luminance0.8335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3F987 #AD87F9
analogous
#F9E687 #D3F987 #9AF987
triadic
#D3F987 #87D3F9 #F987D3
tetradic
#D3F987 #87F9E6 #AD87F9 #F9879A
square
#D3F987 #87F9E6 #AD87F9 #F9879A
split-complementary
#D3F987 #879AF9 #E687F9
monochromatic
#A8F312 #BEF64D #D3F987 #E8FCC1 #F4FEE2

Accessibility & contrast

On white

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

On black

17.67
#D3F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3F987
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3F987#FFFFFF#000000##000000
##D3F9871.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3f987;
/* rgb */ color: rgb(211, 249, 135);
/* oklch */ color: oklch(93.1% 0.147 124.3);
Tailwind
colors: {
  custom: {
    50: '#e2fbac',
    500: '#d3f987',
    950: '#000000',
  },
}
SCSS
$custom: #d3f987;
$custom-light: #e2fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#d3f987",
  "rgb": {
    "r": 211,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 80,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93074,
    "c": 0.14705,
    "h": 124.3
  },
  "luminance": 0.8335
}

Semantic roles & 50–950 ramp

primary
#D3F987
secondary
#7B4DD7
accent
#00E64D
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D3F987

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

Preview Lab → · Contrast checker → · Palette generator →

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