#9B791E#9B791E

#9B791E is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.111 H 86.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B791E
RGBrgb(155, 121, 30)
HSLhsl(44, 68%, 36%)
HSVhsv(44, 81%, 61%)
CMYKcmyk(0%, 21.9%, 80.6%, 39.2%)
CIE-LABlab(52.66, 4.34, 51.09)
CIE-LCHlch(52.66, 51.28, 85.15°)
OKLaboklab(59.35% 0.0064 0.1109)
OKLCHoklch(59.35% 0.111 86.7)
XYZxyz(20.5906, 20.7385, 4.1465)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B791E #1E409B
analogous
#9B3B1E #9B791E #7F9B1E
triadic
#9B791E #1E9B79 #791E9B
tetradic
#9B791E #1E9B3B #1E409B #9B1E7F
square
#9B791E #1E9B3B #1E409B #9B1E7F
split-complementary
#9B791E #1E7F9B #3B1E9B
monochromatic
#34290A #685114 #9B791E #CEA128 #DEB955

Accessibility & contrast

On white

4.08
#9B791E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9B791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B791E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B791E#FFFFFF#000000##000000
##9B791E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780A
Deuteranopia (green-blind)
#918123
Tritanopia (blue-blind)
#A96D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b791e;
/* rgb */ color: rgb(155, 121, 30);
/* oklch */ color: oklch(59.4% 0.111 86.7);
Tailwind
colors: {
  custom: {
    50: '#bd9f62',
    500: '#9b791e',
    950: '#000000',
  },
}
SCSS
$custom: #9b791e;
$custom-light: #bd9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9b791e",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 43.68,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.11106,
    "h": 86.7
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#9B791E
secondary
#5371C2
accent
#6CEA3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9B791E

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

Preview Lab → · Contrast checker → · Palette generator →

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