#9F7017#9F7017

#9F7017 is a mid, moderate orange. Relative luminance 0.190; OKLCH L 57.9% C 0.114 H 77.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9F7017
RGBrgb(159, 112, 23)
HSLhsl(39, 75%, 36%)
HSVhsv(39, 86%, 62%)
CMYKcmyk(0%, 29.6%, 85.5%, 37.6%)
CIE-LABlab(50.71, 11.06, 51.95)
CIE-LCHlch(50.71, 53.11, 77.98°)
OKLaboklab(57.92% 0.0248 0.1108)
OKLCHoklch(57.92% 0.114 77.4)
XYZxyz(20.2484, 19.0229, 3.4158)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7017 #17469F
analogous
#9F2C17 #9F7017 #8A9F17
triadic
#9F7017 #179F70 #70179F
tetradic
#9F7017 #179F2C #17469F #9F178A
square
#9F7017 #179F2C #17469F #9F178A
split-complementary
#9F7017 #178A9F #2C179F
monochromatic
#342508 #6A4A0F #9F7017 #D4961F #E5B04B

Accessibility & contrast

On white

4.37
#9F7017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9F7017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7017
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7017#FFFFFF#000000##000000
##9F70171.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#8D7D1B
Tritanopia (blue-blind)
#AE6360
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f7017;
/* rgb */ color: rgb(159, 112, 23);
/* oklch */ color: oklch(57.9% 0.114 77.4);
Tailwind
colors: {
  custom: {
    50: '#c1985e',
    500: '#9f7017',
    950: '#000000',
  },
}
SCSS
$custom: #9f7017;
$custom-light: #c1985e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7017",
  "rgb": {
    "r": 159,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 39.265,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.11356,
    "h": 77.4
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#9F7017
secondary
#4B76C7
accent
#77F136
background
#FCF9F5
surface
#F8F2E9
border
#D1CCC5
text
#130D05
muted
#827E79

Preview Lab

Preview with #9F7017

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

Preview Lab → · Contrast checker → · Palette generator →

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