#9F5F17#9F5F17

#9F5F17 is a mid, moderate orange. Relative luminance 0.156; OKLCH L 54.6% C 0.116 H 62.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F5F17
RGBrgb(159, 95, 23)
HSLhsl(32, 75%, 36%)
HSVhsv(32, 86%, 62%)
CMYKcmyk(0%, 40.3%, 85.5%, 37.6%)
CIE-LABlab(46.47, 20.74, 48.34)
CIE-LCHlch(46.47, 52.60, 66.78°)
OKLaboklab(54.62% 0.053 0.1028)
OKLCHoklch(54.62% 0.116 62.7)
XYZxyz(18.5466, 15.6192, 2.8485)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5F17 #17579F
analogous
#9F1B17 #9F5F17 #9B9F17
triadic
#9F5F17 #179F5F #5F179F
tetradic
#9F5F17 #179F1B #17579F #9F179B
square
#9F5F17 #179F1B #17579F #9F179B
split-complementary
#9F5F17 #179B9F #1B179F
monochromatic
#341F08 #6A3F0F #9F5F17 #D47F1F #E59D4B

Accessibility & contrast

On white

5.09
#9F5F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9F5F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F5F17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5F17#FFFFFF#000000##FFFFFF
##9F5F171.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#827418
Tritanopia (blue-blind)
#AE5052
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f5f17;
/* rgb */ color: rgb(159, 95, 23);
/* oklch */ color: oklch(54.6% 0.116 62.7);
Tailwind
colors: {
  custom: {
    50: '#c18c5c',
    500: '#9f5f17',
    950: '#000000',
  },
}
SCSS
$custom: #9f5f17;
$custom-light: #c18c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5f17",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 31.765,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.11568,
    "h": 62.7
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#9F5F17
secondary
#4B85C7
accent
#8EF136
background
#FCF8F5
surface
#F9F0E9
border
#D2CBC5
text
#140C04
muted
#827D79

Preview Lab

Preview with #9F5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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