#D4E87B#D4E87B

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

Color values

HEX#D4E87B
RGBrgb(212, 232, 123)
HSLhsl(71, 70%, 70%)
HSVhsv(71, 47%, 91%)
CMYKcmyk(8.6%, 0%, 47%, 9%)
CIE-LABlab(88.51, -22.57, 50.47)
CIE-LCHlch(88.51, 55.29, 114.09°)
OKLaboklab(89.31% -0.0636 0.1206)
OKLCHoklch(89.31% 0.136 117.8)
XYZxyz(59.5837, 73.1408, 29.7137)
Luminance0.7314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E87B #8F7BE8
analogous
#E8C67B #D4E87B #9EE87B
triadic
#D4E87B #7BD4E8 #E87BD4
tetradic
#D4E87B #7BE8C6 #8F7BE8 #E87B9E
square
#D4E87B #7BE8C6 #8F7BE8 #E87B9E
split-complementary
#D4E87B #7B9EE8 #C67BE8
monochromatic
#A8C623 #C3DF47 #D4E87B #E5F1AF #F6FAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E87B#FFFFFF#000000##000000
##D4E87B1.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)
#F5DE72
Deuteranopia (green-blind)
#F2DF81
Tritanopia (blue-blind)
#DEDECF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e87b;
/* rgb */ color: rgb(212, 232, 123);
/* oklch */ color: oklch(89.3% 0.136 117.8);
Tailwind
colors: {
  custom: {
    50: '#e3efa3',
    500: '#d4e87b',
    950: '#000000',
  },
}
SCSS
$custom: #d4e87b;
$custom-light: #e3efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e87b",
  "rgb": {
    "r": 212,
    "g": 232,
    "b": 123
  },
  "hsl": {
    "h": 71.009,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89313,
    "c": 0.13637,
    "h": 117.8
  },
  "luminance": 0.7314
}

Semantic roles & 50–950 ramp

primary
#D4E87B
secondary
#5D47C0
accent
#13D236
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D4E87B

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

Preview Lab → · Contrast checker → · Palette generator →

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