#9C791B#9C791B

#9C791B is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.113 H 86.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9C791B
RGBrgb(156, 121, 27)
HSLhsl(44, 70%, 36%)
HSVhsv(44, 83%, 61%)
CMYKcmyk(0%, 22.4%, 82.7%, 38.8%)
CIE-LABlab(52.76, 4.69, 52.26)
CIE-LCHlch(52.76, 52.47, 84.87°)
OKLaboklab(59.45% 0.0071 0.1127)
OKLCHoklch(59.45% 0.113 86.4)
XYZxyz(20.7469, 20.8233, 3.9633)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C791B #1B3E9C
analogous
#9C381B #9C791B #7E9C1B
triadic
#9C791B #1B9C79 #791B9C
tetradic
#9C791B #1B9C38 #1B3E9C #9C1B7E
square
#9C791B #1B9C38 #1B3E9C #9C1B7E
split-complementary
#9C791B #1B7E9C #381B9C
monochromatic
#342809 #685112 #9C791B #D0A124 #E1BA51

Accessibility & contrast

On white

4.07
#9C791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9C791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C791B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C791B#FFFFFF#000000##000000
##9C791B1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#AA6D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c791b;
/* rgb */ color: rgb(156, 121, 27);
/* oklch */ color: oklch(59.4% 0.113 86.4);
Tailwind
colors: {
  custom: {
    50: '#be9f61',
    500: '#9c791b',
    950: '#000000',
  },
}
SCSS
$custom: #9c791b;
$custom-light: #be9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#9c791b",
  "rgb": {
    "r": 156,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 43.721,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59447,
    "c": 0.11287,
    "h": 86.4
  },
  "luminance": 0.20822
}

Semantic roles & 50–950 ramp

primary
#9C791B
secondary
#4F6FC3
accent
#6BED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9C791B

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

Preview Lab → · Contrast checker → · Palette generator →

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