#9C791F#9C791F

#9C791F is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.5% C 0.111 H 85.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9C791F
RGBrgb(156, 121, 31)
HSLhsl(43, 67%, 37%)
HSVhsv(43, 80%, 61%)
CMYKcmyk(0%, 22.4%, 80.1%, 38.8%)
CIE-LABlab(52.78, 4.84, 50.88)
CIE-LCHlch(52.78, 51.11, 84.57°)
OKLaboklab(59.47% 0.0079 0.1106)
OKLCHoklch(59.47% 0.111 85.9)
XYZxyz(20.7963, 20.8431, 4.2238)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C791F #1F429C
analogous
#9C3B1F #9C791F #819C1F
triadic
#9C791F #1F9C79 #791F9C
tetradic
#9C791F #1F9C3B #1F429C #9C1F81
square
#9C791F #1F9C3B #1F429C #9C1F81
split-complementary
#9C791F #1F819C #3B1F9C
monochromatic
#362A0B #695115 #9C791F #CFA129 #DEB858

Accessibility & contrast

On white

4.06
#9C791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9C791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C791F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C791F#FFFFFF#000000##000000
##9C791F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790D
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#AA6D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c791f;
/* rgb */ color: rgb(156, 121, 31);
/* oklch */ color: oklch(59.5% 0.111 85.9);
Tailwind
colors: {
  custom: {
    50: '#be9f63',
    500: '#9c791f',
    950: '#000000',
  },
}
SCSS
$custom: #9c791f;
$custom-light: #be9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#9c791f",
  "rgb": {
    "r": 156,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 43.2,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.11086,
    "h": 85.9
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

primary
#9C791F
secondary
#5574C1
accent
#6EEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9C791F

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

Preview Lab → · Contrast checker → · Palette generator →

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