#9F7312#9F7312

#9F7312 is a mid, moderate orange. Relative luminance 0.197; OKLCH L 58.5% C 0.116 H 80.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F7312
RGBrgb(159, 115, 18)
HSLhsl(41, 80%, 35%)
HSVhsv(41, 89%, 62%)
CMYKcmyk(0%, 27.7%, 88.7%, 37.6%)
CIE-LABlab(51.47, 9.22, 54.04)
CIE-LCHlch(51.47, 54.83, 80.32°)
OKLaboklab(58.5% 0.0191 0.1143)
OKLCHoklch(58.5% 0.116 80.5)
XYZxyz(20.5395, 19.6778, 3.2886)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7312 #123E9F
analogous
#9F2D12 #9F7312 #849F12
triadic
#9F7312 #129F73 #73129F
tetradic
#9F7312 #129F2D #123E9F #9F1284
square
#9F7312 #129F2D #123E9F #9F1284
split-complementary
#9F7312 #12849F #2D129F
monochromatic
#312306 #684B0C #9F7312 #D69B18 #EAB542

Accessibility & contrast

On white

4.26
#9F7312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9F7312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7312
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7312#FFFFFF#000000##000000
##9F73121.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#8F7F18
Tritanopia (blue-blind)
#AE6662
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f7312;
/* rgb */ color: rgb(159, 115, 18);
/* oklch */ color: oklch(58.5% 0.116 80.5);
Tailwind
colors: {
  custom: {
    50: '#c19b5c',
    500: '#9f7312',
    950: '#000000',
  },
}
SCSS
$custom: #9f7312;
$custom-light: #c19b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7312",
  "rgb": {
    "r": 159,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 41.277,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58503,
    "c": 0.11587,
    "h": 80.5
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#9F7312
secondary
#436DCA
accent
#6FF632
background
#FCF9F5
surface
#F8F2E9
border
#D1CCC5
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7312

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

Preview Lab → · Contrast checker → · Palette generator →

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