#8D7417#8D7417

#8D7417 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.109 H 92.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D7417
RGBrgb(141, 116, 23)
HSLhsl(47, 72%, 32%)
HSVhsv(47, 84%, 55%)
CMYKcmyk(0%, 17.7%, 83.7%, 44.7%)
CIE-LABlab(49.76, 0.39, 50.33)
CIE-LCHlch(49.76, 50.33, 89.56°)
OKLaboklab(56.71% -0.0048 0.1084)
OKLCHoklch(56.71% 0.109 92.5)
XYZxyz(17.3856, 18.2164, 3.4109)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7417 #17308D
analogous
#8D3917 #8D7417 #6B8D17
triadic
#8D7417 #178D74 #74178D
tetradic
#8D7417 #178D39 #17308D #8D176B
square
#8D7417 #178D39 #17308D #8D176B
split-complementary
#8D7417 #176B8D #39178D
monochromatic
#241D06 #58490E #8D7417 #C29F20 #E0BE3F

Accessibility & contrast

On white

4.52
#8D7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8D7417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7417
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7417#FFFFFF#000000##000000
##8D74171.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#996A63
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d7417;
/* rgb */ color: rgb(141, 116, 23);
/* oklch */ color: oklch(56.7% 0.109 92.5);
Tailwind
colors: {
  custom: {
    50: '#b29b5e',
    500: '#8d7417',
    950: '#000000',
  },
}
SCSS
$custom: #8d7417;
$custom-light: #b29b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7417",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 47.288,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56709,
    "c": 0.10854,
    "h": 92.5
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#8D7417
secondary
#405BC0
accent
#60EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7417

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

Preview Lab → · Contrast checker → · Palette generator →

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