#8F5717#8F5717

#8F5717 is a mid, moderate orange. Relative luminance 0.127; OKLCH L 51.0% C 0.105 H 63.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8F5717
RGBrgb(143, 87, 23)
HSLhsl(32, 72%, 33%)
HSVhsv(32, 84%, 56%)
CMYKcmyk(0%, 39.2%, 83.9%, 43.9%)
CIE-LABlab(42.34, 18.10, 43.88)
CIE-LCHlch(42.34, 47.46, 67.59°)
OKLaboklab(50.96% 0.0463 0.0942)
OKLCHoklch(50.96% 0.105 63.8)
XYZxyz(14.8918, 12.7194, 2.4813)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5717 #174F8F
analogous
#8F1B17 #8F5717 #8B8F17
triadic
#8F5717 #178F57 #57178F
tetradic
#8F5717 #178F1B #174F8F #8F178B
square
#8F5717 #178F1B #174F8F #8F178B
split-complementary
#8F5717 #178B8F #1B178F
monochromatic
#261706 #5A370F #8F5717 #C4771F #E09640

Accessibility & contrast

On white

5.93
#8F5717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8F5717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5717
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5717#FFFFFF#000000##FFFFFF
##8F57171.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0B
Deuteranopia (green-blind)
#766918
Tritanopia (blue-blind)
#9D4A4B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f5717;
/* rgb */ color: rgb(143, 87, 23);
/* oklch */ color: oklch(51.0% 0.105 63.8);
Tailwind
colors: {
  custom: {
    50: '#b5865a',
    500: '#8f5717',
    950: '#000000',
  },
}
SCSS
$custom: #8f5717;
$custom-light: #b5865a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5717",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 32,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.10498,
    "h": 63.8
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#8F5717
secondary
#417DC1
accent
#8EEF39
background
#FBF8F5
surface
#F7EFE9
border
#D0CAC5
text
#120B04
muted
#817C79

Preview Lab

Preview with #8F5717

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

Preview Lab → · Contrast checker → · Palette generator →

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