#D5C170#D5C170

#D5C170 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.104 H 95.9°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#D5C170
RGBrgb(213, 193, 112)
HSLhsl(48, 55%, 64%)
HSVhsv(48, 47%, 84%)
CMYKcmyk(0%, 9.4%, 47.4%, 16.5%)
CIE-LABlab(78.14, -3.69, 43.14)
CIE-LCHlch(78.14, 43.29, 94.89°)
OKLaboklab(81.04% -0.0107 0.1036)
OKLCHoklch(81.04% 0.104 95.9)
XYZxyz(49.4366, 53.4578, 23.0404)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C170 #7084D5
analogous
#D58E70 #D5C170 #B6D570
triadic
#D5C170 #70D5C1 #C170D5
tetradic
#D5C170 #70D58E #7084D5 #D570B6
square
#D5C170 #70D58E #7084D5 #D570B6
split-complementary
#D5C170 #70B6D5 #8E70D5
monochromatic
#9D872E #C7AC41 #D5C170 #E3D69F #F1EACF

Accessibility & contrast

On white

1.80
#D5C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#D5C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C170
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C170#FFFFFF#000000##000000
##D5C1701.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD69
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#E3B6AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c170;
/* rgb */ color: rgb(213, 193, 112);
/* oklch */ color: oklch(81.0% 0.104 95.9);
Tailwind
colors: {
  custom: {
    50: '#e4d39a',
    500: '#d5c170',
    950: '#000000',
  },
}
SCSS
$custom: #d5c170;
$custom-light: #e4d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c170",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 48.119,
    "s": 54.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81035,
    "c": 0.10411,
    "h": 95.9
  },
  "luminance": 0.53456
}

Semantic roles & 50–950 ramp

primary
#D5C170
secondary
#485AA1
accent
#43C223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5C170

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

Preview Lab → · Contrast checker → · Palette generator →

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