#D7D87A#D7D87A

#D7D87A is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.1% C 0.117 H 109.2°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D7D87A
RGBrgb(215, 216, 122)
HSLhsl(61, 55%, 66%)
HSVhsv(61, 44%, 85%)
CMYKcmyk(0.5%, 0%, 43.5%, 15.3%)
CIE-LABlab(84.47, -13.64, 46.04)
CIE-LCHlch(84.47, 48.02, 106.50°)
OKLaboklab(86.13% -0.0385 0.1107)
OKLCHoklch(86.13% 0.117 109.2)
XYZxyz(56.0940, 64.9651, 27.9932)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D87A #7B7AD8
analogous
#D8AA7A #D7D87A #A8D87A
triadic
#D7D87A #7AD7D8 #D87AD7
tetradic
#D7D87A #7AD8AA #7B7AD8 #D87AA8
square
#D7D87A #7AD8AA #7B7AD8 #D87AA8
split-complementary
#D7D87A #7AA8D8 #AA7AD8
monochromatic
#A5A731 #C9CA4B #D7D87A #E5E6A9 #F3F4D9

Accessibility & contrast

On white

1.50
#D7D87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D7D87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D87A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D87A#FFFFFF#000000##000000
##D7D87A1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D172
Deuteranopia (green-blind)
#E7D47E
Tritanopia (blue-blind)
#E3CEC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d87a;
/* rgb */ color: rgb(215, 216, 122);
/* oklch */ color: oklch(86.1% 0.117 109.2);
Tailwind
colors: {
  custom: {
    50: '#e5e3a2',
    500: '#d7d87a',
    950: '#000000',
  },
}
SCSS
$custom: #d7d87a;
$custom-light: #e5e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d87a",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 60.638,
    "s": 54.651,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86132,
    "c": 0.11718,
    "h": 109.2
  },
  "luminance": 0.64964
}

Semantic roles & 50–950 ramp

primary
#D7D87A
secondary
#4D4CAA
accent
#23C225
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7D87A

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

Preview Lab → · Contrast checker → · Palette generator →

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