#9D6917#9D6917

#9D6917 is a mid, moderate orange. Relative luminance 0.173; OKLCH L 56.3% C 0.112 H 72.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9D6917
RGBrgb(157, 105, 23)
HSLhsl(37, 74%, 35%)
HSVhsv(37, 85%, 62%)
CMYKcmyk(0%, 33.1%, 85.4%, 38.4%)
CIE-LABlab(48.68, 14.14, 50.12)
CIE-LCHlch(48.68, 52.08, 74.25°)
OKLaboklab(56.28% 0.0339 0.1069)
OKLCHoklch(56.28% 0.112 72.4)
XYZxyz(19.1124, 17.3349, 3.1498)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6917 #174B9D
analogous
#9D2617 #9D6917 #8E9D17
triadic
#9D6917 #179D69 #69179D
tetradic
#9D6917 #179D26 #174B9D #9D178E
square
#9D6917 #179D26 #174B9D #9D178E
split-complementary
#9D6917 #178E9D #26179D
monochromatic
#322207 #68450F #9D6917 #D28D1F #E4A84A

Accessibility & contrast

On white

4.70
#9D6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9D6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D6917
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6917#FFFFFF#000000##FFFFFF
##9D69171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#87791A
Tritanopia (blue-blind)
#AC5C5A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d6917;
/* rgb */ color: rgb(157, 105, 23);
/* oklch */ color: oklch(56.3% 0.112 72.4);
Tailwind
colors: {
  custom: {
    50: '#bf935d',
    500: '#9d6917',
    950: '#000000',
  },
}
SCSS
$custom: #9d6917;
$custom-light: #bf935d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6917",
  "rgb": {
    "r": 157,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 36.716,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.11214,
    "h": 72.4
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#9D6917
secondary
#4A7AC6
accent
#7FF137
background
#FCF9F5
surface
#F8F1E9
border
#D1CBC5
text
#130D04
muted
#827E79

Preview Lab

Preview with #9D6917

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

Preview Lab → · Contrast checker → · Palette generator →

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