#D3C87F#D3C87F

#D3C87F is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.094 H 100.8°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D3C87F
RGBrgb(211, 200, 127)
HSLhsl(52, 49%, 66%)
HSVhsv(52, 40%, 83%)
CMYKcmyk(0%, 5.2%, 39.8%, 17.3%)
CIE-LABlab(80.01, -6.59, 37.87)
CIE-LCHlch(80.01, 38.44, 99.87°)
OKLaboklab(82.54% -0.0176 0.0926)
OKLCHoklch(82.54% 0.094 100.8)
XYZxyz(51.3500, 56.6912, 28.3121)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C87F #7F8AD3
analogous
#D39E7F #D3C87F #B4D37F
triadic
#D3C87F #7FD3C8 #C87FD3
tetradic
#D3C87F #7FD39E #7F8AD3 #D37FB4
square
#D3C87F #7FD39E #7F8AD3 #D37FB4
split-complementary
#D3C87F #7FB4D3 #9E7FD3
monochromatic
#A09337 #C3B451 #D3C87F #E3DCAD #F2EFDA

Accessibility & contrast

On white

1.70
#D3C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D3C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C87F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C87F#FFFFFF#000000##000000
##D3C87F1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47A
Deuteranopia (green-blind)
#D8C982
Tritanopia (blue-blind)
#DFBEB6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3c87f;
/* rgb */ color: rgb(211, 200, 127);
/* oklch */ color: oklch(82.5% 0.094 100.8);
Tailwind
colors: {
  custom: {
    50: '#e2d8a5',
    500: '#d3c87f',
    950: '#000000',
  },
}
SCSS
$custom: #d3c87f;
$custom-light: #e2d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c87f",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 52.143,
    "s": 48.837,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82535,
    "c": 0.09424,
    "h": 100.8
  },
  "luminance": 0.5669
}

Semantic roles & 50–950 ramp

primary
#D3C87F
secondary
#515CA5
accent
#3DBC29
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D3C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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