#D4E987#D4E987

#D4E987 is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.7% C 0.125 H 118.9°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#D4E987
RGBrgb(212, 233, 135)
HSLhsl(73, 69%, 72%)
HSVhsv(73, 42%, 91%)
CMYKcmyk(9%, 0%, 42.1%, 8.6%)
CIE-LABlab(88.93, -21.81, 45.22)
CIE-LCHlch(88.93, 50.21, 115.75°)
OKLaboklab(89.7% -0.0605 0.1097)
OKLCHoklch(89.7% 0.125 118.9)
XYZxyz(60.6637, 74.0244, 34.0093)
Luminance0.7402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E987 #9C87E9
analogous
#E9CD87 #D4E987 #A3E987
triadic
#D4E987 #87D4E9 #E987D4
tetradic
#D4E987 #87E9CD #9C87E9 #E987A3
square
#D4E987 #87E9CD #9C87E9 #E987A3
split-complementary
#D4E987 #87A3E9 #CD87E9
monochromatic
#ABD026 #C1E053 #D4E987 #E7F2BB #F6FAE5

Accessibility & contrast

On white

1.33
#D4E987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#D4E987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E987
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E987#FFFFFF#000000##000000
##D4E9871.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7F
Deuteranopia (green-blind)
#F2E08C
Tritanopia (blue-blind)
#DDE0D1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e987;
/* rgb */ color: rgb(212, 233, 135);
/* oklch */ color: oklch(89.7% 0.125 118.9);
Tailwind
colors: {
  custom: {
    50: '#e2f0ab',
    500: '#d4e987',
    950: '#000000',
  },
}
SCSS
$custom: #d4e987;
$custom-light: #e2f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e987",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 72.857,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89698,
    "c": 0.12525,
    "h": 118.9
  },
  "luminance": 0.74024
}

Semantic roles & 50–950 ramp

primary
#D4E987
secondary
#6A52C3
accent
#15D13D
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D4E987

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

Preview Lab → · Contrast checker → · Palette generator →

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