#D4E87C#D4E87C

#D4E87C is a very light, vivid yellow-green. Relative luminance 0.732; OKLCH L 89.3% C 0.135 H 117.9°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#D4E87C
RGBrgb(212, 232, 124)
HSLhsl(71, 70%, 70%)
HSVhsv(71, 47%, 91%)
CMYKcmyk(8.6%, 0%, 46.6%, 9%)
CIE-LABlab(88.53, -22.47, 50.01)
CIE-LCHlch(88.53, 54.83, 114.20°)
OKLaboklab(89.33% -0.0633 0.1197)
OKLCHoklch(89.33% 0.135 117.9)
XYZxyz(59.6466, 73.1659, 30.0451)
Luminance0.7317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E87C #907CE8
analogous
#E8C67C #D4E87C #9EE87C
triadic
#D4E87C #7CD4E8 #E87CD4
tetradic
#D4E87C #7CE8C6 #907CE8 #E87C9E
square
#D4E87C #7CE8C6 #907CE8 #E87C9E
split-complementary
#D4E87C #7C9EE8 #C67CE8
monochromatic
#A8C723 #C3DF48 #D4E87C #E5F1B0 #F6FAE4

Accessibility & contrast

On white

1.34
#D4E87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#D4E87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E87C
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E87C#FFFFFF#000000##000000
##D4E87C1.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE73
Deuteranopia (green-blind)
#F2DF82
Tritanopia (blue-blind)
#DEDECF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e87c;
/* rgb */ color: rgb(212, 232, 124);
/* oklch */ color: oklch(89.3% 0.135 117.9);
Tailwind
colors: {
  custom: {
    50: '#e3efa4',
    500: '#d4e87c',
    950: '#000000',
  },
}
SCSS
$custom: #d4e87c;
$custom-light: #e3efa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e87c",
  "rgb": {
    "r": 212,
    "g": 232,
    "b": 124
  },
  "hsl": {
    "h": 71.111,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89326,
    "c": 0.13536,
    "h": 117.9
  },
  "luminance": 0.73166
}

Semantic roles & 50–950 ramp

primary
#D4E87C
secondary
#5E48C0
accent
#13D237
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D4E87C

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

Preview Lab → · Contrast checker → · Palette generator →

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