#D7E487#D7E487

#D7E487 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 88.9% C 0.118 H 115.4°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#D7E487
RGBrgb(215, 228, 135)
HSLhsl(68, 63%, 71%)
HSVhsv(68, 41%, 89%)
CMYKcmyk(5.7%, 0%, 40.8%, 10.6%)
CIE-LABlab(87.82, -18.23, 43.86)
CIE-LCHlch(87.82, 47.50, 112.57°)
OKLaboklab(88.86% -0.0505 0.1066)
OKLCHoklch(88.86% 0.118 115.4)
XYZxyz(60.1414, 71.6838, 33.5851)
Luminance0.7168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E487 #9487E4
analogous
#E4C287 #D7E487 #A8E487
triadic
#D7E487 #87D7E4 #E487D7
tetradic
#D7E487 #87E4C2 #9487E4 #E487A8
square
#D7E487 #87E4C2 #9487E4 #E487A8
split-complementary
#D7E487 #87A8E4 #C287E4
monochromatic
#AFC42C #C6D955 #D7E487 #E8EFB9 #F7F9E6

Accessibility & contrast

On white

1.37
#D7E487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#D7E487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E487
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E487#FFFFFF#000000##000000
##D7E4871.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB80
Deuteranopia (green-blind)
#EFDD8B
Tritanopia (blue-blind)
#E1DACD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d7e487;
/* rgb */ color: rgb(215, 228, 135);
/* oklch */ color: oklch(88.9% 0.118 115.4);
Tailwind
colors: {
  custom: {
    50: '#e4ecab',
    500: '#d7e487',
    950: '#000000',
  },
}
SCSS
$custom: #d7e487;
$custom-light: #e4ecab;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e487",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 135
  },
  "hsl": {
    "h": 68.387,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88858,
    "c": 0.11791,
    "h": 115.4
  },
  "luminance": 0.71683
}

Semantic roles & 50–950 ramp

primary
#D7E487
secondary
#6253BC
accent
#1ACB33
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #D7E487

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

Preview Lab → · Contrast checker → · Palette generator →

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