#D2C87D#D2C87D

#D2C87D is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.096 H 101.7°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D2C87D
RGBrgb(210, 200, 125)
HSLhsl(53, 49%, 66%)
HSVhsv(53, 40%, 82%)
CMYKcmyk(0%, 4.8%, 40.5%, 17.6%)
CIE-LABlab(79.89, -7.20, 38.73)
CIE-LCHlch(79.89, 39.39, 100.54°)
OKLaboklab(82.42% -0.0195 0.0944)
OKLCHoklch(82.42% 0.096 101.7)
XYZxyz(50.9353, 56.4923, 27.6190)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C87D #7D87D2
analogous
#D29D7D #D2C87D #B1D27D
triadic
#D2C87D #7DD2C8 #C87DD2
tetradic
#D2C87D #7DD29D #7D87D2 #D27DB1
square
#D2C87D #7DD29D #7D87D2 #D27DB1
split-complementary
#D2C87D #7DB1D2 #9D7DD2
monochromatic
#9E9237 #C2B550 #D2C87D #E2DBAA #F1EED8

Accessibility & contrast

On white

1.71
#D2C87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D2C87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C87D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C87D#FFFFFF#000000##000000
##D2C87D1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C377
Deuteranopia (green-blind)
#D8C880
Tritanopia (blue-blind)
#DEBEB5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c87d;
/* rgb */ color: rgb(210, 200, 125);
/* oklch */ color: oklch(82.4% 0.096 101.7);
Tailwind
colors: {
  custom: {
    50: '#e1d8a3',
    500: '#d2c87d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c87d;
$custom-light: #e1d8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c87d",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 125
  },
  "hsl": {
    "h": 52.941,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82416,
    "c": 0.09643,
    "h": 101.7
  },
  "luminance": 0.56491
}

Semantic roles & 50–950 ramp

primary
#D2C87D
secondary
#505AA3
accent
#3BBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C87D

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

Preview Lab → · Contrast checker → · Palette generator →

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