#9F731F#9F731F

#9F731F is a mid, moderate orange. Relative luminance 0.197; OKLCH L 58.6% C 0.110 H 78.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9F731F
RGBrgb(159, 115, 31)
HSLhsl(39, 67%, 37%)
HSVhsv(39, 81%, 62%)
CMYKcmyk(0%, 27.7%, 80.5%, 37.6%)
CIE-LABlab(51.53, 9.62, 49.86)
CIE-LCHlch(51.53, 50.78, 79.08°)
OKLaboklab(58.57% 0.0215 0.1082)
OKLCHoklch(58.57% 0.11 78.8)
XYZxyz(20.6776, 19.7330, 4.0159)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F731F #1F4B9F
analogous
#9F331F #9F731F #8B9F1F
triadic
#9F731F #1F9F73 #731F9F
tetradic
#9F731F #1F9F33 #1F4B9F #9F1F8B
square
#9F731F #1F9F33 #1F4B9F #9F1F8B
split-complementary
#9F731F #1F8B9F #331F9F
monochromatic
#39290B #6C4E15 #9F731F #D29829 #DFB15A

Accessibility & contrast

On white

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

On black

4.95
#9F731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F731F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F731F#FFFFFF#000000##000000
##9F731F1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#AD6763
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f731f;
/* rgb */ color: rgb(159, 115, 31);
/* oklch */ color: oklch(58.6% 0.110 78.8);
Tailwind
colors: {
  custom: {
    50: '#c09b62',
    500: '#9f731f',
    950: '#000000',
  },
}
SCSS
$custom: #9f731f;
$custom-light: #c09b62;
$custom-dark: #000000;
JSON
{
  "hex": "#9f731f",
  "rgb": {
    "r": 159,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 39.375,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.11034,
    "h": 78.8
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#9F731F
secondary
#577CC3
accent
#79EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F731F

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

Preview Lab → · Contrast checker → · Palette generator →

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