#D3C170#D3C170

#D3C170 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.104 H 97.1°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D3C170
RGBrgb(211, 193, 112)
HSLhsl(49, 53%, 63%)
HSVhsv(49, 47%, 83%)
CMYKcmyk(0%, 8.5%, 46.9%, 17.3%)
CIE-LABlab(77.97, -4.51, 42.88)
CIE-LCHlch(77.97, 43.12, 96.00°)
OKLaboklab(80.86% -0.0129 0.103)
OKLCHoklch(80.86% 0.104 97.1)
XYZxyz(48.8599, 53.1605, 23.0134)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C170 #7082D3
analogous
#D38F70 #D3C170 #B3D370
triadic
#D3C170 #70D3C1 #C170D3
tetradic
#D3C170 #70D38F #7082D3 #D370B3
square
#D3C170 #70D38F #7082D3 #D370B3
split-complementary
#D3C170 #70B3D3 #8F70D3
monochromatic
#99862F #C5AD41 #D3C170 #E1D59F #F0EACE

Accessibility & contrast

On white

1.81
#D3C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D3C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C170
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C170#FFFFFF#000000##000000
##D3C1701.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD69
Deuteranopia (green-blind)
#D4C373
Tritanopia (blue-blind)
#E0B6AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c170;
/* rgb */ color: rgb(211, 193, 112);
/* oklch */ color: oklch(80.9% 0.104 97.1);
Tailwind
colors: {
  custom: {
    50: '#e2d39a',
    500: '#d3c170',
    950: '#000000',
  },
}
SCSS
$custom: #d3c170;
$custom-light: #e2d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c170",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 49.091,
    "s": 52.941,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.10383,
    "h": 97.1
  },
  "luminance": 0.53159
}

Semantic roles & 50–950 ramp

primary
#D3C170
secondary
#49589E
accent
#41C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D3C170

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

Preview Lab → · Contrast checker → · Palette generator →

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