#9F7917#9F7917

#9F7917 is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.116 H 85.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9F7917
RGBrgb(159, 121, 23)
HSLhsl(43, 75%, 36%)
HSVhsv(43, 86%, 62%)
CMYKcmyk(0%, 23.9%, 85.5%, 37.6%)
CIE-LABlab(53.07, 5.95, 53.94)
CIE-LCHlch(53.07, 54.26, 83.70°)
OKLaboklab(59.76% 0.0102 0.1152)
OKLCHoklch(59.76% 0.116 85)
XYZxyz(21.2915, 21.1091, 3.7635)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7917 #173D9F
analogous
#9F3517 #9F7917 #819F17
triadic
#9F7917 #179F79 #79179F
tetradic
#9F7917 #179F35 #173D9F #9F1781
square
#9F7917 #179F35 #173D9F #9F1781
split-complementary
#9F7917 #17819F #35179F
monochromatic
#342808 #6A500F #9F7917 #D4A21F #E5BA4B

Accessibility & contrast

On white

4.02
#9F7917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9F7917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7917
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7917#FFFFFF#000000##000000
##9F79171.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#93831D
Tritanopia (blue-blind)
#AD6D67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f7917;
/* rgb */ color: rgb(159, 121, 23);
/* oklch */ color: oklch(59.8% 0.116 85.0);
Tailwind
colors: {
  custom: {
    50: '#c09f5f',
    500: '#9f7917',
    950: '#000000',
  },
}
SCSS
$custom: #9f7917;
$custom-light: #c09f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7917",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 43.235,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.11565,
    "h": 85
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#9F7917
secondary
#4B6EC7
accent
#6BF136
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7917

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

Preview Lab → · Contrast checker → · Palette generator →

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