#D4E187#D4E187

#D4E187 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.0% C 0.115 H 115.5°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#D4E187
RGBrgb(212, 225, 135)
HSLhsl(69, 60%, 71%)
HSVhsv(69, 40%, 88%)
CMYKcmyk(5.8%, 0%, 40%, 11.8%)
CIE-LABlab(86.80, -17.91, 42.53)
CIE-LCHlch(86.80, 46.15, 112.83°)
OKLaboklab(87.99% -0.0495 0.1036)
OKLCHoklch(87.99% 0.115 115.5)
XYZxyz(58.4502, 69.5973, 33.2714)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E187 #9487E1
analogous
#E1C187 #D4E187 #A7E187
triadic
#D4E187 #87D4E1 #E187D4
tetradic
#D4E187 #87E1C1 #9487E1 #E187A7
square
#D4E187 #87E1C1 #9487E1 #E187A7
split-complementary
#D4E187 #87A7E1 #C187E1
monochromatic
#A9BE30 #C2D556 #D4E187 #E6EDB8 #F6F9E7

Accessibility & contrast

On white

1.41
#D4E187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#D4E187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E187
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E187#FFFFFF#000000##000000
##D4E1871.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD980
Deuteranopia (green-blind)
#EBDA8B
Tritanopia (blue-blind)
#DDD8CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e187;
/* rgb */ color: rgb(212, 225, 135);
/* oklch */ color: oklch(88.0% 0.115 115.5);
Tailwind
colors: {
  custom: {
    50: '#e2eaab',
    500: '#d4e187',
    950: '#000000',
  },
}
SCSS
$custom: #d4e187;
$custom-light: #e2eaab;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e187",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 135
  },
  "hsl": {
    "h": 68.667,
    "s": 60,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87992,
    "c": 0.11476,
    "h": 115.5
  },
  "luminance": 0.69597
}

Semantic roles & 50–950 ramp

primary
#D4E187
secondary
#6253B9
accent
#1EC836
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D4E187

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

Preview Lab → · Contrast checker → · Palette generator →

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