#D4F987#D4F987

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

Color values

HEX#D4F987
RGBrgb(212, 249, 135)
HSLhsl(79, 90%, 75%)
HSVhsv(79, 46%, 98%)
CMYKcmyk(14.9%, 0%, 45.8%, 2.4%)
CIE-LABlab(93.23, -29.41, 50.56)
CIE-LCHlch(93.23, 58.49, 120.18°)
OKLaboklab(93.14% -0.082 0.1216)
OKLCHoklch(93.14% 0.147 124)
XYZxyz(65.4002, 83.4973, 35.5881)
Luminance0.8350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F987 #AC87F9
analogous
#F9E587 #D4F987 #9BF987
triadic
#D4F987 #87D4F9 #F987D4
tetradic
#D4F987 #87F9E5 #AC87F9 #F9879B
square
#D4F987 #87F9E5 #AC87F9 #F9879B
split-complementary
#D4F987 #879BF9 #E587F9
monochromatic
#AAF312 #BFF64D #D4F987 #E9FCC1 #F5FEE2

Accessibility & contrast

On white

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

On black

17.70
#D4F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F987
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F987#FFFFFF#000000##000000
##D4F9871.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4f987;
/* rgb */ color: rgb(212, 249, 135);
/* oklch */ color: oklch(93.1% 0.147 124.0);
Tailwind
colors: {
  custom: {
    50: '#e3fbac',
    500: '#d4f987',
    950: '#000000',
  },
}
SCSS
$custom: #d4f987;
$custom-light: #e3fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f987",
  "rgb": {
    "r": 212,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 79.474,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93142,
    "c": 0.14666,
    "h": 124
  },
  "luminance": 0.83498
}

Semantic roles & 50–950 ramp

primary
#D4F987
secondary
#7A4DD7
accent
#00E64A
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D4F987

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

Preview Lab → · Contrast checker → · Palette generator →

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