#9C791D#9C791D

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

Color values

HEX#9C791D
RGBrgb(156, 121, 29)
HSLhsl(43, 69%, 36%)
HSVhsv(43, 81%, 61%)
CMYKcmyk(0%, 22.4%, 81.4%, 38.8%)
CIE-LABlab(52.77, 4.76, 51.59)
CIE-LCHlch(52.77, 51.80, 84.73°)
OKLaboklab(59.46% 0.0075 0.1116)
OKLCHoklch(59.46% 0.112 86.2)
XYZxyz(20.7708, 20.8329, 4.0893)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C791D #1D409C
analogous
#9C3A1D #9C791D #809C1D
triadic
#9C791D #1D9C79 #791D9C
tetradic
#9C791D #1D9C3A #1D409C #9C1D80
square
#9C791D #1D9C3A #1D409C #9C1D80
split-complementary
#9C791D #1D809C #3A1D9C
monochromatic
#35290A #685113 #9C791D #D0A127 #DFB954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C791D#FFFFFF#000000##000000
##9C791D1.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)
#897908
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#AA6D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c791d;
/* rgb */ color: rgb(156, 121, 29);
/* oklch */ color: oklch(59.5% 0.112 86.2);
Tailwind
colors: {
  custom: {
    50: '#be9f62',
    500: '#9c791d',
    950: '#000000',
  },
}
SCSS
$custom: #9c791d;
$custom-light: #be9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9c791d",
  "rgb": {
    "r": 156,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 43.465,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.11189,
    "h": 86.2
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#9C791D
secondary
#5271C2
accent
#6DEB3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9C791D

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

Preview Lab → · Contrast checker → · Palette generator →

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