#D7D587#D7D587

#D7D587 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.099 H 107.1°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D7D587
RGBrgb(215, 213, 135)
HSLhsl(59, 50%, 69%)
HSVhsv(59, 37%, 84%)
CMYKcmyk(0%, 0.9%, 37.2%, 15.7%)
CIE-LABlab(83.85, -10.76, 38.82)
CIE-LCHlch(83.85, 40.28, 105.49°)
OKLaboklab(85.7% -0.0292 0.0951)
OKLCHoklch(85.7% 0.099 107.1)
XYZxyz(56.1925, 63.7860, 32.2688)
Luminance0.6379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D587 #8789D7
analogous
#D7AD87 #D7D587 #B1D787
triadic
#D7D587 #87D7D5 #D587D7
tetradic
#D7D587 #87D7AD #8789D7 #D787B1
square
#D7D587 #87D7AD #8789D7 #D787B1
split-complementary
#D7D587 #87B1D7 #AD87D7
monochromatic
#ABA839 #C8C559 #D7D587 #E6E5B5 #F6F5E3

Accessibility & contrast

On white

1.53
#D7D587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D7D587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D587
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D587#FFFFFF#000000##000000
##D7D5871.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF81
Deuteranopia (green-blind)
#E3D38A
Tritanopia (blue-blind)
#E2CCC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d587;
/* rgb */ color: rgb(215, 213, 135);
/* oklch */ color: oklch(85.7% 0.099 107.1);
Tailwind
colors: {
  custom: {
    50: '#e4e1ab',
    500: '#d7d587',
    950: '#000000',
  },
}
SCSS
$custom: #d7d587;
$custom-light: #e4e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d587",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 58.5,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85704,
    "c": 0.09945,
    "h": 107.1
  },
  "luminance": 0.63785
}

Semantic roles & 50–950 ramp

primary
#D7D587
secondary
#5557AD
accent
#2CBD28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7D587

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

Preview Lab → · Contrast checker → · Palette generator →

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