#9A791C#9A791C

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

Color values

HEX#9A791C
RGBrgb(154, 121, 28)
HSLhsl(44, 69%, 36%)
HSVhsv(44, 82%, 60%)
CMYKcmyk(0%, 21.4%, 81.8%, 39.6%)
CIE-LABlab(52.54, 3.80, 51.65)
CIE-LCHlch(52.54, 51.79, 85.79°)
OKLaboklab(59.23% 0.0047 0.1117)
OKLCHoklch(59.23% 0.112 87.6)
XYZxyz(20.3747, 20.6300, 4.0072)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A791C #1C3D9A
analogous
#9A3A1C #9A791C #7C9A1C
triadic
#9A791C #1C9A79 #791C9A
tetradic
#9A791C #1C9A3A #1C3D9A #9A1C7C
square
#9A791C #1C9A3A #1C3D9A #9A1C7C
split-complementary
#9A791C #1C7C9A #3A1C9A
monochromatic
#322809 #665013 #9A791C #CEA225 #DFBA51

Accessibility & contrast

On white

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

On black

5.13
#9A791C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A791C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A791C#FFFFFF#000000##000000
##9A791C1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887806
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#A76D68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a791c;
/* rgb */ color: rgb(154, 121, 28);
/* oklch */ color: oklch(59.2% 0.112 87.6);
Tailwind
colors: {
  custom: {
    50: '#bc9f61',
    500: '#9a791c',
    950: '#000000',
  },
}
SCSS
$custom: #9a791c;
$custom-light: #bc9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#9a791c",
  "rgb": {
    "r": 154,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 44.286,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.11177,
    "h": 87.6
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#9A791C
secondary
#506EC2
accent
#6AEC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9A791C

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

Preview Lab → · Contrast checker → · Palette generator →

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