#9E6217#9E6217

#9E6217 is a mid, moderate orange. Relative luminance 0.161; OKLCH L 55.0% C 0.114 H 65.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9E6217
RGBrgb(158, 98, 23)
HSLhsl(33, 75%, 35%)
HSVhsv(33, 85%, 62%)
CMYKcmyk(0%, 38%, 85.4%, 38%)
CIE-LABlab(47.06, 18.59, 48.79)
CIE-LCHlch(47.06, 52.21, 69.14°)
OKLaboklab(55.05% 0.0468 0.1039)
OKLCHoklch(55.05% 0.114 65.8)
XYZxyz(18.6245, 16.0682, 2.9311)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6217 #17539E
analogous
#9E1E17 #9E6217 #979E17
triadic
#9E6217 #179E62 #62179E
tetradic
#9E6217 #179E1E #17539E #9E1797
square
#9E6217 #179E1E #17539E #9E1797
split-complementary
#9E6217 #17979E #1E179E
monochromatic
#332007 #69410F #9E6217 #D3831F #E5A04B

Accessibility & contrast

On white

4.98
#9E6217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9E6217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E6217
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6217#FFFFFF#000000##FFFFFF
##9E62171.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756706
Deuteranopia (green-blind)
#837519
Tritanopia (blue-blind)
#AD5454
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e6217;
/* rgb */ color: rgb(158, 98, 23);
/* oklch */ color: oklch(55.0% 0.114 65.8);
Tailwind
colors: {
  custom: {
    50: '#c08e5c',
    500: '#9e6217',
    950: '#000000',
  },
}
SCSS
$custom: #9e6217;
$custom-light: #c08e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6217",
  "rgb": {
    "r": 158,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 33.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.11394,
    "h": 65.8
  },
  "luminance": 0.16066
}

Semantic roles & 50–950 ramp

primary
#9E6217
secondary
#4A82C6
accent
#8AF137
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130C04
muted
#827D79

Preview Lab

Preview with #9E6217

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

Preview Lab → · Contrast checker → · Palette generator →

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