#9F731A#9F731A

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

Color values

HEX#9F731A
RGBrgb(159, 115, 26)
HSLhsl(40, 72%, 36%)
HSVhsv(40, 84%, 62%)
CMYKcmyk(0%, 27.7%, 83.6%, 37.6%)
CIE-LABlab(51.51, 9.45, 51.64)
CIE-LCHlch(51.51, 52.49, 79.63°)
OKLaboklab(58.54% 0.0205 0.1109)
OKLCHoklch(58.54% 0.113 79.5)
XYZxyz(20.6167, 19.7087, 3.6954)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F731A #1A469F
analogous
#9F301A #9F731A #899F1A
triadic
#9F731A #1A9F73 #731A9F
tetradic
#9F731A #1A9F30 #1A469F #9F1A89
square
#9F731A #1A9F30 #1A469F #9F1A89
split-complementary
#9F731A #1A899F #301A9F
monochromatic
#362709 #6A4D11 #9F731A #D49923 #E3B251

Accessibility & contrast

On white

4.25
#9F731A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F731A#FFFFFF#000000##000000
##9F731A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#8E7F1E
Tritanopia (blue-blind)
#AD6662
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f731a;
/* rgb */ color: rgb(159, 115, 26);
/* oklch */ color: oklch(58.5% 0.113 79.5);
Tailwind
colors: {
  custom: {
    50: '#c09b60',
    500: '#9f731a',
    950: '#000000',
  },
}
SCSS
$custom: #9f731a;
$custom-light: #c09b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9f731a",
  "rgb": {
    "r": 159,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 40.15,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.11273,
    "h": 79.5
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#9F731A
secondary
#5077C5
accent
#75EF39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F731A

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

Preview Lab → · Contrast checker → · Palette generator →

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