#D2C87E#D2C87E

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

Color values

HEX#D2C87E
RGBrgb(210, 200, 126)
HSLhsl(53, 48%, 66%)
HSVhsv(53, 40%, 82%)
CMYKcmyk(0%, 4.8%, 40%, 17.6%)
CIE-LABlab(79.91, -7.10, 38.24)
CIE-LCHlch(79.91, 38.89, 100.51°)
OKLaboklab(82.43% -0.0191 0.0934)
OKLCHoklch(82.43% 0.095 101.6)
XYZxyz(50.9995, 56.5180, 27.9572)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C87E #7E88D2
analogous
#D29E7E #D2C87E #B2D27E
triadic
#D2C87E #7ED2C8 #C87ED2
tetradic
#D2C87E #7ED29E #7E88D2 #D27EB2
square
#D2C87E #7ED29E #7E88D2 #D27EB2
split-complementary
#D2C87E #7EB2D2 #9E7ED2
monochromatic
#9E9237 #C2B551 #D2C87E #E2DBAB #F2EFD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C87E#FFFFFF#000000##000000
##D2C87E1.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)
#D5C378
Deuteranopia (green-blind)
#D8C881
Tritanopia (blue-blind)
#DEBEB6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c87e;
/* rgb */ color: rgb(210, 200, 126);
/* oklch */ color: oklch(82.4% 0.095 101.6);
Tailwind
colors: {
  custom: {
    50: '#e1d8a4',
    500: '#d2c87e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c87e;
$custom-light: #e1d8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c87e",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 126
  },
  "hsl": {
    "h": 52.857,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82433,
    "c": 0.09531,
    "h": 101.6
  },
  "luminance": 0.56517
}

Semantic roles & 50–950 ramp

primary
#D2C87E
secondary
#515BA3
accent
#3BBC2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C87E

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

Preview Lab → · Contrast checker → · Palette generator →

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