#9E5F17#9E5F17

#9E5F17 is a mid, moderate orange. Relative luminance 0.155; OKLCH L 54.5% C 0.115 H 63.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9E5F17
RGBrgb(158, 95, 23)
HSLhsl(32, 75%, 35%)
HSVhsv(32, 85%, 62%)
CMYKcmyk(0%, 39.9%, 85.4%, 38%)
CIE-LABlab(46.33, 20.29, 48.17)
CIE-LCHlch(46.33, 52.27, 67.15°)
OKLaboklab(54.48% 0.0518 0.1025)
OKLCHoklch(54.48% 0.115 63.2)
XYZxyz(18.3490, 15.5173, 2.8393)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5F17 #17569E
analogous
#9E1B17 #9E5F17 #999E17
triadic
#9E5F17 #179E5F #5F179E
tetradic
#9E5F17 #179E1B #17569E #9E1799
square
#9E5F17 #179E1B #17569E #9E1799
split-complementary
#9E5F17 #17999E #1B179E
monochromatic
#331F07 #693F0F #9E5F17 #D37F1F #E59D4B

Accessibility & contrast

On white

5.12
#9E5F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9E5F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E5F17
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5F17#FFFFFF#000000##FFFFFF
##9E5F171.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e5f17;
/* rgb */ color: rgb(158, 95, 23);
/* oklch */ color: oklch(54.5% 0.115 63.2);
Tailwind
colors: {
  custom: {
    50: '#c18c5c',
    500: '#9e5f17',
    950: '#000000',
  },
}
SCSS
$custom: #9e5f17;
$custom-light: #c18c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5f17",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 32,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.11484,
    "h": 63.2
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#9E5F17
secondary
#4A84C6
accent
#8EF137
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130C04
muted
#827D79

Preview Lab

Preview with #9E5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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