#9F6817#9F6817

#9F6817 is a mid, moderate orange. Relative luminance 0.173; OKLCH L 56.3% C 0.114 H 70.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9F6817
RGBrgb(159, 104, 23)
HSLhsl(36, 75%, 36%)
HSVhsv(36, 86%, 62%)
CMYKcmyk(0%, 34.6%, 85.5%, 37.6%)
CIE-LABlab(48.68, 15.62, 50.22)
CIE-LCHlch(48.68, 52.59, 72.72°)
OKLaboklab(56.33% 0.0381 0.107)
OKLCHoklch(56.33% 0.114 70.4)
XYZxyz(19.4046, 17.3353, 3.1345)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6817 #174E9F
analogous
#9F2417 #9F6817 #929F17
triadic
#9F6817 #179F68 #68179F
tetradic
#9F6817 #179F24 #174E9F #9F1792
square
#9F6817 #179F24 #174E9F #9F1792
split-complementary
#9F6817 #17929F #24179F
monochromatic
#342208 #6A450F #9F6817 #D48B1F #E5A74B

Accessibility & contrast

On white

4.70
#9F6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9F6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F6817
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6817#FFFFFF#000000##FFFFFF
##9F68171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#88791A
Tritanopia (blue-blind)
#AE5A59
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f6817;
/* rgb */ color: rgb(159, 104, 23);
/* oklch */ color: oklch(56.3% 0.114 70.4);
Tailwind
colors: {
  custom: {
    50: '#c1935d',
    500: '#9f6817',
    950: '#000000',
  },
}
SCSS
$custom: #9f6817;
$custom-light: #c1935d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6817",
  "rgb": {
    "r": 159,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 35.735,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.11355,
    "h": 70.4
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#9F6817
secondary
#4B7DC7
accent
#82F136
background
#FCF9F5
surface
#F8F1E9
border
#D1CBC5
text
#130D04
muted
#827E79

Preview Lab

Preview with #9F6817

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

Preview Lab → · Contrast checker → · Palette generator →

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