#8D7317#8D7317

#8D7317 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.5% C 0.108 H 91.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D7317
RGBrgb(141, 115, 23)
HSLhsl(47, 72%, 32%)
HSVhsv(47, 84%, 55%)
CMYKcmyk(0%, 18.4%, 83.7%, 44.7%)
CIE-LABlab(49.48, 0.96, 50.09)
CIE-LCHlch(49.48, 50.10, 88.90°)
OKLaboklab(56.49% -0.0032 0.1079)
OKLCHoklch(56.49% 0.108 91.7)
XYZxyz(17.2709, 17.9872, 3.3726)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7317 #17318D
analogous
#8D3817 #8D7317 #6C8D17
triadic
#8D7317 #178D73 #73178D
tetradic
#8D7317 #178D38 #17318D #8D176C
square
#8D7317 #178D38 #17318D #8D176C
split-complementary
#8D7317 #176C8D #38178D
monochromatic
#241D06 #58480E #8D7317 #C29E20 #E0BC3F

Accessibility & contrast

On white

4.57
#8D7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D7317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7317
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7317#FFFFFF#000000##000000
##8D73171.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#87791D
Tritanopia (blue-blind)
#996962
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d7317;
/* rgb */ color: rgb(141, 115, 23);
/* oklch */ color: oklch(56.5% 0.108 91.7);
Tailwind
colors: {
  custom: {
    50: '#b29a5e',
    500: '#8d7317',
    950: '#000000',
  },
}
SCSS
$custom: #8d7317;
$custom-light: #b29a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7317",
  "rgb": {
    "r": 141,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 46.78,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5649,
    "c": 0.10795,
    "h": 91.7
  },
  "luminance": 0.17986
}

Semantic roles & 50–950 ramp

primary
#8D7317
secondary
#405CC0
accent
#61EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7317

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

Preview Lab → · Contrast checker → · Palette generator →

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