#9F5D17#9F5D17

#9F5D17 is a mid, moderate orange. Relative luminance 0.153; OKLCH L 54.2% C 0.116 H 61.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9F5D17
RGBrgb(159, 93, 23)
HSLhsl(31, 75%, 36%)
HSVhsv(31, 86%, 62%)
CMYKcmyk(0%, 41.5%, 85.5%, 37.6%)
CIE-LABlab(45.99, 21.87, 47.93)
CIE-LCHlch(45.99, 52.68, 65.47°)
OKLaboklab(54.25% 0.0564 0.1019)
OKLCHoklch(54.25% 0.116 61)
XYZxyz(18.3687, 15.2635, 2.7892)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5D17 #17599F
analogous
#9F1917 #9F5D17 #9D9F17
triadic
#9F5D17 #179F5D #5D179F
tetradic
#9F5D17 #179F19 #17599F #9F179D
square
#9F5D17 #179F19 #17599F #9F179D
split-complementary
#9F5D17 #179D9F #19179F
monochromatic
#341E08 #6A3E0F #9F5D17 #D47C1F #E59A4B

Accessibility & contrast

On white

5.18
#9F5D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9F5D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F5D17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5D17#FFFFFF#000000##FFFFFF
##9F5D171.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716408
Deuteranopia (green-blind)
#817318
Tritanopia (blue-blind)
#AE4E50
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f5d17;
/* rgb */ color: rgb(159, 93, 23);
/* oklch */ color: oklch(54.2% 0.116 61.0);
Tailwind
colors: {
  custom: {
    50: '#c28b5b',
    500: '#9f5d17',
    950: '#000000',
  },
}
SCSS
$custom: #9f5d17;
$custom-light: #c28b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5d17",
  "rgb": {
    "r": 159,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 30.882,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.11644,
    "h": 61
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

primary
#9F5D17
secondary
#4B87C7
accent
#91F136
background
#FCF8F5
surface
#F9F0E9
border
#D2CBC5
text
#140C04
muted
#827D79

Preview Lab

Preview with #9F5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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