#D3C786#D3C786

#D3C786 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.085 H 99.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D3C786
RGBrgb(211, 199, 134)
HSLhsl(51, 47%, 68%)
HSVhsv(51, 36%, 83%)
CMYKcmyk(0%, 5.7%, 36.5%, 17.3%)
CIE-LABlab(79.85, -5.29, 34.08)
CIE-LCHlch(79.85, 34.49, 98.82°)
OKLaboklab(82.45% -0.0133 0.0841)
OKLCHoklch(82.45% 0.085 99)
XYZxyz(51.5913, 56.4184, 30.7218)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C786 #8692D3
analogous
#D3A086 #D3C786 #B9D386
triadic
#D3C786 #86D3C7 #C786D3
tetradic
#D3C786 #86D3A0 #8692D3 #D386B9
square
#D3C786 #86D3A0 #8692D3 #D386B9
split-complementary
#D3C786 #86B9D3 #A086D3
monochromatic
#A3933B #C3B259 #D3C786 #E3DCB3 #F4F1E0

Accessibility & contrast

On white

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

On black

12.28
#D3C786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C786
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C786#FFFFFF#000000##000000
##D3C7861.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C381
Deuteranopia (green-blind)
#D7C888
Tritanopia (blue-blind)
#DEBEB6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3c786;
/* rgb */ color: rgb(211, 199, 134);
/* oklch */ color: oklch(82.4% 0.085 99.0);
Tailwind
colors: {
  custom: {
    50: '#e1d7aa',
    500: '#d3c786',
    950: '#000000',
  },
}
SCSS
$custom: #d3c786;
$custom-light: #e1d7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c786",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 134
  },
  "hsl": {
    "h": 50.649,
    "s": 46.667,
    "l": 67.647
  },
  "oklch": {
    "l": 0.82448,
    "c": 0.08519,
    "h": 99
  },
  "luminance": 0.56417
}

Semantic roles & 50–950 ramp

primary
#D3C786
secondary
#5562A8
accent
#42BA2C
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D3C786

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

Preview Lab → · Contrast checker → · Palette generator →

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