#9A791A#9A791A

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

Color values

HEX#9A791A
RGBrgb(154, 121, 26)
HSLhsl(45, 71%, 35%)
HSVhsv(45, 83%, 60%)
CMYKcmyk(0%, 21.4%, 83.1%, 39.6%)
CIE-LABlab(52.53, 3.73, 52.31)
CIE-LCHlch(52.53, 52.45, 85.92°)
OKLaboklab(59.22% 0.0043 0.1127)
OKLCHoklch(59.22% 0.113 87.8)
XYZxyz(20.3516, 20.6208, 3.8854)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A791A #1A3B9A
analogous
#9A391A #9A791A #7B9A1A
triadic
#9A791A #1A9A79 #791A9A
tetradic
#9A791A #1A9A39 #1A3B9A #9A1A7B
square
#9A791A #1A9A39 #1A3B9A #9A1A7B
split-complementary
#9A791A #1A7B9A #391A9A
monochromatic
#312708 #665011 #9A791A #CEA223 #E1BB4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A791A#FFFFFF#000000##000000
##9A791A1.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)
#897801
Deuteranopia (green-blind)
#908120
Tritanopia (blue-blind)
#A86D67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a791a;
/* rgb */ color: rgb(154, 121, 26);
/* oklch */ color: oklch(59.2% 0.113 87.8);
Tailwind
colors: {
  custom: {
    50: '#bc9f60',
    500: '#9a791a',
    950: '#000000',
  },
}
SCSS
$custom: #9a791a;
$custom-light: #bc9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#9a791a",
  "rgb": {
    "r": 154,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 44.531,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5922,
    "c": 0.11273,
    "h": 87.8
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#9A791A
secondary
#4D6BC3
accent
#68EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9A791A

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

Preview Lab → · Contrast checker → · Palette generator →

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