#9B791B#9B791B

#9B791B is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.3% C 0.113 H 87.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9B791B
RGBrgb(155, 121, 27)
HSLhsl(44, 70%, 36%)
HSVhsv(44, 83%, 61%)
CMYKcmyk(0%, 21.9%, 82.6%, 39.2%)
CIE-LABlab(52.65, 4.23, 52.12)
CIE-LCHlch(52.65, 52.30, 85.36°)
OKLaboklab(59.34% 0.0058 0.1124)
OKLCHoklch(59.34% 0.113 87)
XYZxyz(20.5541, 20.7239, 3.9542)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B791B #1B3D9B
analogous
#9B391B #9B791B #7D9B1B
triadic
#9B791B #1B9B79 #791B9B
tetradic
#9B791B #1B9B39 #1B3D9B #9B1B7D
square
#9B791B #1B9B39 #1B3D9B #9B1B7D
split-complementary
#9B791B #1B7D9B #391B9B
monochromatic
#332809 #675012 #9B791B #CFA224 #E0BA50

Accessibility & contrast

On white

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

On black

5.14
#9B791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B791B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B791B#FFFFFF#000000##000000
##9B791B1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b791b;
/* rgb */ color: rgb(155, 121, 27);
/* oklch */ color: oklch(59.3% 0.113 87.0);
Tailwind
colors: {
  custom: {
    50: '#bd9f61',
    500: '#9b791b',
    950: '#000000',
  },
}
SCSS
$custom: #9b791b;
$custom-light: #bd9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#9b791b",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 44.063,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.11256,
    "h": 87
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#9B791B
secondary
#4F6EC3
accent
#6AED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9B791B

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

Preview Lab → · Contrast checker → · Palette generator →

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