#9D6817#9D6817

#9D6817 is a mid, moderate orange. Relative luminance 0.171; OKLCH L 56.1% C 0.112 H 71.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9D6817
RGBrgb(157, 104, 23)
HSLhsl(36, 74%, 35%)
HSVhsv(36, 85%, 62%)
CMYKcmyk(0%, 33.8%, 85.4%, 38.4%)
CIE-LABlab(48.43, 14.71, 49.90)
CIE-LCHlch(48.43, 52.03, 73.58°)
OKLaboklab(56.08% 0.0355 0.1064)
OKLCHoklch(56.08% 0.112 71.5)
XYZxyz(19.0111, 17.1324, 3.1161)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6817 #174C9D
analogous
#9D2517 #9D6817 #8F9D17
triadic
#9D6817 #179D68 #68179D
tetradic
#9D6817 #179D25 #174C9D #9D178F
square
#9D6817 #179D25 #174C9D #9D178F
split-complementary
#9D6817 #178F9D #25179D
monochromatic
#322107 #68450F #9D6817 #D28B1F #E4A74A

Accessibility & contrast

On white

4.74
#9D6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9D6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D6817
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6817#FFFFFF#000000##FFFFFF
##9D68171.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#87781A
Tritanopia (blue-blind)
#AC5B59
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d6817;
/* rgb */ color: rgb(157, 104, 23);
/* oklch */ color: oklch(56.1% 0.112 71.5);
Tailwind
colors: {
  custom: {
    50: '#bf935d',
    500: '#9d6817',
    950: '#000000',
  },
}
SCSS
$custom: #9d6817;
$custom-light: #bf935d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6817",
  "rgb": {
    "r": 157,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 36.269,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.1122,
    "h": 71.5
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#9D6817
secondary
#4A7BC6
accent
#80F137
background
#FCF9F5
surface
#F8F1E9
border
#D1CBC5
text
#130D04
muted
#827E79

Preview Lab

Preview with #9D6817

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

Preview Lab → · Contrast checker → · Palette generator →

#9D6817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva