#9D7517#9D7517

#9D7517 is a mid, moderate orange. Relative luminance 0.200; OKLCH L 58.7% C 0.114 H 82.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9D7517
RGBrgb(157, 117, 23)
HSLhsl(42, 74%, 35%)
HSVhsv(42, 85%, 62%)
CMYKcmyk(0%, 25.5%, 85.4%, 38.4%)
CIE-LABlab(51.79, 7.29, 52.76)
CIE-LCHlch(51.79, 53.26, 82.13°)
OKLaboklab(58.7% 0.0141 0.1127)
OKLCHoklch(58.7% 0.114 82.9)
XYZxyz(20.4220, 19.9541, 3.5864)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7517 #173F9D
analogous
#9D3217 #9D7517 #829D17
triadic
#9D7517 #179D75 #75179D
tetradic
#9D7517 #179D32 #173F9D #9D1782
square
#9D7517 #179D32 #173F9D #9D1782
split-complementary
#9D7517 #17829D #32179D
monochromatic
#322507 #684D0F #9D7517 #D29D1F #E4B64A

Accessibility & contrast

On white

4.21
#9D7517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9D7517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7517
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7517#FFFFFF#000000##000000
##9D75171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#8F801D
Tritanopia (blue-blind)
#AB6964
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d7517;
/* rgb */ color: rgb(157, 117, 23);
/* oklch */ color: oklch(58.7% 0.114 82.9);
Tailwind
colors: {
  custom: {
    50: '#bf9c5e',
    500: '#9d7517',
    950: '#000000',
  },
}
SCSS
$custom: #9d7517;
$custom-light: #bf9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7517",
  "rgb": {
    "r": 157,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 42.09,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.11362,
    "h": 82.9
  },
  "luminance": 0.19953
}

Semantic roles & 50–950 ramp

primary
#9D7517
secondary
#4A6FC6
accent
#6EF137
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9D7517

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

Preview Lab → · Contrast checker → · Palette generator →

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