#9F7217#9F7217

#9F7217 is a mid, moderate orange. Relative luminance 0.195; OKLCH L 58.3% C 0.114 H 79.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9F7217
RGBrgb(159, 114, 23)
HSLhsl(40, 75%, 36%)
HSVhsv(40, 86%, 62%)
CMYKcmyk(0%, 28.3%, 85.5%, 37.6%)
CIE-LABlab(51.23, 9.92, 52.38)
CIE-LCHlch(51.23, 53.32, 79.27°)
OKLaboklab(58.32% 0.0216 0.1118)
OKLCHoklch(58.32% 0.114 79.1)
XYZxyz(20.4715, 19.4691, 3.4902)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7217 #17449F
analogous
#9F2E17 #9F7217 #889F17
triadic
#9F7217 #179F72 #72179F
tetradic
#9F7217 #179F2E #17449F #9F1788
square
#9F7217 #179F2E #17449F #9F1788
split-complementary
#9F7217 #17889F #2E179F
monochromatic
#342508 #6A4C0F #9F7217 #D4981F #E5B24B

Accessibility & contrast

On white

4.29
#9F7217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9F7217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7217
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7217#FFFFFF#000000##000000
##9F72171.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#8E7F1C
Tritanopia (blue-blind)
#AE6561
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f7217;
/* rgb */ color: rgb(159, 114, 23);
/* oklch */ color: oklch(58.3% 0.114 79.1);
Tailwind
colors: {
  custom: {
    50: '#c09a5e',
    500: '#9f7217',
    950: '#000000',
  },
}
SCSS
$custom: #9f7217;
$custom-light: #c09a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7217",
  "rgb": {
    "r": 159,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 40.147,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.11383,
    "h": 79.1
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#9F7217
secondary
#4B74C7
accent
#74F136
background
#FCF9F5
surface
#F8F2E9
border
#D1CCC5
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7217

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

Preview Lab → · Contrast checker → · Palette generator →

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