#9C7A1F#9C7A1F

#9C7A1F is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.7% C 0.111 H 86.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9C7A1F
RGBrgb(156, 122, 31)
HSLhsl(44, 67%, 37%)
HSVhsv(44, 80%, 61%)
CMYKcmyk(0%, 21.8%, 80.1%, 38.8%)
CIE-LABlab(53.05, 4.27, 51.12)
CIE-LCHlch(53.05, 51.30, 85.22°)
OKLaboklab(59.68% 0.0063 0.1111)
OKLCHoklch(59.68% 0.111 86.8)
XYZxyz(20.9185, 21.0874, 4.2646)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7A1F #1F419C
analogous
#9C3C1F #9C7A1F #809C1F
triadic
#9C7A1F #1F9C7A #7A1F9C
tetradic
#9C7A1F #1F9C3C #1F419C #9C1F80
square
#9C7A1F #1F9C3C #1F419C #9C1F80
split-complementary
#9C7A1F #1F809C #3C1F9C
monochromatic
#362A0B #695215 #9C7A1F #CFA229 #DEB958

Accessibility & contrast

On white

4.03
#9C7A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9C7A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7A1F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7A1F#FFFFFF#000000##000000
##9C7A1F1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790C
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#AA6E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c7a1f;
/* rgb */ color: rgb(156, 122, 31);
/* oklch */ color: oklch(59.7% 0.111 86.8);
Tailwind
colors: {
  custom: {
    50: '#bea063',
    500: '#9c7a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9c7a1f;
$custom-light: #bea063;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7a1f",
  "rgb": {
    "r": 156,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 43.68,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.11128,
    "h": 86.8
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#9C7A1F
secondary
#5573C1
accent
#6DEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9C7A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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