#D7C170#D7C170

#D7C170 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.104 H 94.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#D7C170
RGBrgb(215, 193, 112)
HSLhsl(47, 56%, 64%)
HSVhsv(47, 48%, 84%)
CMYKcmyk(0%, 10.2%, 47.9%, 15.7%)
CIE-LABlab(78.32, -2.87, 43.39)
CIE-LCHlch(78.32, 43.49, 93.79°)
OKLaboklab(81.22% -0.0084 0.1041)
OKLCHoklch(81.22% 0.104 94.6)
XYZxyz(50.0205, 53.7589, 23.0678)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C170 #7086D7
analogous
#D78E70 #D7C170 #BAD770
triadic
#D7C170 #70D7C1 #C170D7
tetradic
#D7C170 #70D78E #7086D7 #D770BA
square
#D7C170 #70D78E #7086D7 #D770BA
split-complementary
#D7C170 #70BAD7 #8E70D7
monochromatic
#A0872D #CAAC40 #D7C170 #E4D6A0 #F2EAD0

Accessibility & contrast

On white

1.79
#D7C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#D7C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C170
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C170#FFFFFF#000000##000000
##D7C1701.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE69
Deuteranopia (green-blind)
#D6C573
Tritanopia (blue-blind)
#E5B6AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c170;
/* rgb */ color: rgb(215, 193, 112);
/* oklch */ color: oklch(81.2% 0.104 94.6);
Tailwind
colors: {
  custom: {
    50: '#e5d39a',
    500: '#d7c170',
    950: '#000000',
  },
}
SCSS
$custom: #d7c170;
$custom-light: #e5d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c170",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 47.184,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81217,
    "c": 0.10444,
    "h": 94.6
  },
  "luminance": 0.53757
}

Semantic roles & 50–950 ramp

primary
#D7C170
secondary
#475BA4
accent
#44C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C170

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

Preview Lab → · Contrast checker → · Palette generator →

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