#9C731F#9C731F

#9C731F is a mid, moderate orange. Relative luminance 0.194; OKLCH L 58.2% C 0.109 H 80.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9C731F
RGBrgb(156, 115, 31)
HSLhsl(40, 67%, 37%)
HSVhsv(40, 80%, 61%)
CMYKcmyk(0%, 26.3%, 80.1%, 38.8%)
CIE-LABlab(51.19, 8.24, 49.42)
CIE-LCHlch(51.19, 50.10, 80.53°)
OKLaboklab(58.22% 0.0177 0.1074)
OKLCHoklch(58.22% 0.109 80.6)
XYZxyz(20.0897, 19.4299, 3.9883)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C731F #1F489C
analogous
#9C351F #9C731F #879C1F
triadic
#9C731F #1F9C73 #731F9C
tetradic
#9C731F #1F9C35 #1F489C #9C1F87
square
#9C731F #1F9C35 #1F489C #9C1F87
split-complementary
#9C731F #1F879C #351F9C
monochromatic
#36280B #694D15 #9C731F #CF9929 #DEB258

Accessibility & contrast

On white

4.30
#9C731F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C731F#FFFFFF#000000##000000
##9C731F1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#AA6763
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c731f;
/* rgb */ color: rgb(156, 115, 31);
/* oklch */ color: oklch(58.2% 0.109 80.6);
Tailwind
colors: {
  custom: {
    50: '#be9b62',
    500: '#9c731f',
    950: '#000000',
  },
}
SCSS
$custom: #9c731f;
$custom-light: #be9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#9c731f",
  "rgb": {
    "r": 156,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 40.32,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58222,
    "c": 0.10888,
    "h": 80.6
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#9C731F
secondary
#5579C1
accent
#76EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9C731F

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

Preview Lab → · Contrast checker → · Palette generator →

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