#8D7517#8D7517

#8D7517 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.9% C 0.109 H 93.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8D7517
RGBrgb(141, 117, 23)
HSLhsl(48, 72%, 32%)
HSVhsv(48, 84%, 55%)
CMYKcmyk(0%, 17%, 83.7%, 44.7%)
CIE-LABlab(50.04, -0.18, 50.57)
CIE-LCHlch(50.04, 50.57, 90.20°)
OKLaboklab(56.93% -0.0064 0.109)
OKLCHoklch(56.93% 0.109 93.4)
XYZxyz(17.5015, 18.4482, 3.4495)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7517 #172F8D
analogous
#8D3A17 #8D7517 #6A8D17
triadic
#8D7517 #178D75 #75178D
tetradic
#8D7517 #178D3A #172F8D #8D176A
square
#8D7517 #178D3A #172F8D #8D176A
split-complementary
#8D7517 #176A8D #3A178D
monochromatic
#241E06 #58490E #8D7517 #C2A120 #E0BF3F

Accessibility & contrast

On white

4.48
#8D7517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8D7517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7517
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7517#FFFFFF#000000##000000
##8D75171.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#996B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d7517;
/* rgb */ color: rgb(141, 117, 23);
/* oklch */ color: oklch(56.9% 0.109 93.4);
Tailwind
colors: {
  custom: {
    50: '#b29c5e',
    500: '#8d7517',
    950: '#000000',
  },
}
SCSS
$custom: #8d7517;
$custom-light: #b29c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7517",
  "rgb": {
    "r": 141,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 47.797,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.10914,
    "h": 93.4
  },
  "luminance": 0.18447
}

Semantic roles & 50–950 ramp

primary
#8D7517
secondary
#405AC0
accent
#5EEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7517

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

Preview Lab → · Contrast checker → · Palette generator →

#8D7517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva