#9F6517#9F6517

#9F6517 is a mid, moderate orange. Relative luminance 0.167; OKLCH L 55.8% C 0.114 H 67.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9F6517
RGBrgb(159, 101, 23)
HSLhsl(34, 75%, 36%)
HSVhsv(34, 86%, 62%)
CMYKcmyk(0%, 36.5%, 85.5%, 37.6%)
CIE-LABlab(47.93, 17.33, 49.58)
CIE-LCHlch(47.93, 52.53, 70.73°)
OKLaboklab(55.75% 0.0431 0.1056)
OKLCHoklch(55.75% 0.114 67.8)
XYZxyz(19.1080, 16.7420, 3.0357)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6517 #17519F
analogous
#9F2117 #9F6517 #959F17
triadic
#9F6517 #179F65 #65179F
tetradic
#9F6517 #179F21 #17519F #9F1795
square
#9F6517 #179F21 #17519F #9F1795
split-complementary
#9F6517 #17959F #21179F
monochromatic
#342108 #6A430F #9F6517 #D4871F #E5A34B

Accessibility & contrast

On white

4.83
#9F6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9F6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F6517
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6517#FFFFFF#000000##FFFFFF
##9F65171.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A05
Deuteranopia (green-blind)
#867719
Tritanopia (blue-blind)
#AE5757
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f6517;
/* rgb */ color: rgb(159, 101, 23);
/* oklch */ color: oklch(55.8% 0.114 67.8);
Tailwind
colors: {
  custom: {
    50: '#c1915c',
    500: '#9f6517',
    950: '#000000',
  },
}
SCSS
$custom: #9f6517;
$custom-light: #c1915c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6517",
  "rgb": {
    "r": 159,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 34.412,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.11401,
    "h": 67.8
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

primary
#9F6517
secondary
#4B80C7
accent
#86F136
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130C04
muted
#827D79

Preview Lab

Preview with #9F6517

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

Preview Lab → · Contrast checker → · Palette generator →

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