#9F7617#9F7617

#9F7617 is a mid, moderate orange. Relative luminance 0.204; OKLCH L 59.1% C 0.115 H 82.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9F7617
RGBrgb(159, 118, 23)
HSLhsl(42, 75%, 36%)
HSVhsv(42, 86%, 62%)
CMYKcmyk(0%, 25.8%, 85.5%, 37.6%)
CIE-LABlab(52.28, 7.65, 53.27)
CIE-LCHlch(52.28, 53.81, 81.83°)
OKLaboklab(59.14% 0.015 0.1137)
OKLCHoklch(59.14% 0.115 82.5)
XYZxyz(20.9326, 20.3913, 3.6439)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7617 #17409F
analogous
#9F3217 #9F7617 #849F17
triadic
#9F7617 #179F76 #76179F
tetradic
#9F7617 #179F32 #17409F #9F1784
square
#9F7617 #179F32 #17409F #9F1784
split-complementary
#9F7617 #17849F #32179F
monochromatic
#342708 #6A4E0F #9F7617 #D49E1F #E5B74B

Accessibility & contrast

On white

4.14
#9F7617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9F7617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7617
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7617#FFFFFF#000000##000000
##9F76171.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#91811D
Tritanopia (blue-blind)
#AD6A65
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f7617;
/* rgb */ color: rgb(159, 118, 23);
/* oklch */ color: oklch(59.1% 0.115 82.5);
Tailwind
colors: {
  custom: {
    50: '#c09d5f',
    500: '#9f7617',
    950: '#000000',
  },
}
SCSS
$custom: #9f7617;
$custom-light: #c09d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7617",
  "rgb": {
    "r": 159,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 41.912,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.11471,
    "h": 82.5
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#9F7617
secondary
#4B70C7
accent
#6FF136
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7617

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

Preview Lab → · Contrast checker → · Palette generator →

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