#9B791F#9B791F

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

Color values

HEX#9B791F
RGBrgb(155, 121, 31)
HSLhsl(44, 67%, 36%)
HSVhsv(44, 80%, 61%)
CMYKcmyk(0%, 21.9%, 80%, 39.2%)
CIE-LABlab(52.67, 4.38, 50.74)
CIE-LCHlch(52.67, 50.93, 85.07°)
OKLaboklab(59.36% 0.0066 0.1103)
OKLCHoklch(59.36% 0.111 86.6)
XYZxyz(20.6036, 20.7437, 4.2148)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B791F #1F419B
analogous
#9B3B1F #9B791F #7F9B1F
triadic
#9B791F #1F9B79 #791F9B
tetradic
#9B791F #1F9B3B #1F419B #9B1F7F
square
#9B791F #1F9B3B #1F419B #9B1F7F
split-complementary
#9B791F #1F7F9B #3B1F9B
monochromatic
#35290B #685115 #9B791F #CEA129 #DDB957

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B791F#FFFFFF#000000##000000
##9B791F1.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)
#89780D
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#A96D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b791f;
/* rgb */ color: rgb(155, 121, 31);
/* oklch */ color: oklch(59.4% 0.111 86.6);
Tailwind
colors: {
  custom: {
    50: '#bd9f63',
    500: '#9b791f',
    950: '#000000',
  },
}
SCSS
$custom: #9b791f;
$custom-light: #bd9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#9b791f",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 43.548,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.11053,
    "h": 86.6
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#9B791F
secondary
#5572C1
accent
#6DEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9B791F

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

Preview Lab → · Contrast checker → · Palette generator →

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