#9D6217#9D6217

#9D6217 is a mid, moderate orange. Relative luminance 0.160; OKLCH L 54.9% C 0.113 H 66.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9D6217
RGBrgb(157, 98, 23)
HSLhsl(34, 74%, 35%)
HSVhsv(34, 85%, 62%)
CMYKcmyk(0%, 37.6%, 85.4%, 38.4%)
CIE-LABlab(46.93, 18.14, 48.62)
CIE-LCHlch(46.93, 51.90, 69.55°)
OKLaboklab(54.92% 0.0455 0.1036)
OKLCHoklch(54.92% 0.113 66.3)
XYZxyz(18.4285, 15.9672, 2.9219)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6217 #17529D
analogous
#9D1F17 #9D6217 #959D17
triadic
#9D6217 #179D62 #62179D
tetradic
#9D6217 #179D1F #17529D #9D1795
square
#9D6217 #179D1F #17529D #9D1795
split-complementary
#9D6217 #17959D #1F179D
monochromatic
#321F07 #68410F #9D6217 #D2831F #E4A04A

Accessibility & contrast

On white

5.01
#9D6217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9D6217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D6217
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6217#FFFFFF#000000##FFFFFF
##9D62171.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756706
Deuteranopia (green-blind)
#837519
Tritanopia (blue-blind)
#AC5454
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d6217;
/* rgb */ color: rgb(157, 98, 23);
/* oklch */ color: oklch(54.9% 0.113 66.3);
Tailwind
colors: {
  custom: {
    50: '#c08e5c',
    500: '#9d6217',
    950: '#000000',
  },
}
SCSS
$custom: #9d6217;
$custom-light: #c08e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6217",
  "rgb": {
    "r": 157,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 33.582,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54917,
    "c": 0.11316,
    "h": 66.3
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#9D6217
secondary
#4A80C6
accent
#89F137
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130C04
muted
#827D79

Preview Lab

Preview with #9D6217

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

Preview Lab → · Contrast checker → · Palette generator →

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