#9C731B#9C731B

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

Color values

HEX#9C731B
RGBrgb(156, 115, 27)
HSLhsl(41, 70%, 36%)
HSVhsv(41, 83%, 61%)
CMYKcmyk(0%, 26.3%, 82.7%, 38.8%)
CIE-LABlab(51.16, 8.10, 50.86)
CIE-LCHlch(51.16, 51.50, 80.95°)
OKLaboklab(58.2% 0.0168 0.1096)
OKLCHoklch(58.2% 0.111 81.3)
XYZxyz(20.0403, 19.4101, 3.7277)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C731B #1B449C
analogous
#9C321B #9C731B #849C1B
triadic
#9C731B #1B9C73 #731B9C
tetradic
#9C731B #1B9C32 #1B449C #9C1B84
square
#9C731B #1B9C32 #1B449C #9C1B84
split-complementary
#9C731B #1B849C #321B9C
monochromatic
#342609 #684D12 #9C731B #D09924 #E1B351

Accessibility & contrast

On white

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

On black

4.88
#9C731B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C731B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C731B#FFFFFF#000000##000000
##9C731B1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837407
Deuteranopia (green-blind)
#8D7E1F
Tritanopia (blue-blind)
#AA6762
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c731b;
/* rgb */ color: rgb(156, 115, 27);
/* oklch */ color: oklch(58.2% 0.111 81.3);
Tailwind
colors: {
  custom: {
    50: '#be9b60',
    500: '#9c731b',
    950: '#000000',
  },
}
SCSS
$custom: #9c731b;
$custom-light: #be9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#9c731b",
  "rgb": {
    "r": 156,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 40.93,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58197,
    "c": 0.11089,
    "h": 81.3
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#9C731B
secondary
#4F74C3
accent
#73ED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9C731B

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

Preview Lab → · Contrast checker → · Palette generator →

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