#9A791B#9A791B

#9A791B is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.2% C 0.112 H 87.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9A791B
RGBrgb(154, 121, 27)
HSLhsl(44, 70%, 35%)
HSVhsv(44, 82%, 60%)
CMYKcmyk(0%, 21.4%, 82.5%, 39.6%)
CIE-LABlab(52.54, 3.77, 51.99)
CIE-LCHlch(52.54, 52.12, 85.86°)
OKLaboklab(59.23% 0.0045 0.1122)
OKLCHoklch(59.23% 0.112 87.7)
XYZxyz(20.3629, 20.6253, 3.9453)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A791B #1B3C9A
analogous
#9A391B #9A791B #7C9A1B
triadic
#9A791B #1B9A79 #791B9A
tetradic
#9A791B #1B9A39 #1B3C9A #9A1B7C
square
#9A791B #1B9A39 #1B3C9A #9A1B7C
split-complementary
#9A791B #1B7C9A #391B9A
monochromatic
#322709 #665012 #9A791B #CEA224 #E0BB4F

Accessibility & contrast

On white

4.10
#9A791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9A791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A791B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A791B#FFFFFF#000000##000000
##9A791B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897804
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#A86D68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a791b;
/* rgb */ color: rgb(154, 121, 27);
/* oklch */ color: oklch(59.2% 0.112 87.7);
Tailwind
colors: {
  custom: {
    50: '#bc9f61',
    500: '#9a791b',
    950: '#000000',
  },
}
SCSS
$custom: #9a791b;
$custom-light: #bc9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#9a791b",
  "rgb": {
    "r": 154,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 44.409,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.11226,
    "h": 87.7
  },
  "luminance": 0.20624
}

Semantic roles & 50–950 ramp

primary
#9A791B
secondary
#4E6CC3
accent
#69ED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9A791B

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

Preview Lab → · Contrast checker → · Palette generator →

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