#9A791F#9A791F

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

Color values

HEX#9A791F
RGBrgb(154, 121, 31)
HSLhsl(44, 66%, 36%)
HSVhsv(44, 80%, 60%)
CMYKcmyk(0%, 21.4%, 79.9%, 39.6%)
CIE-LABlab(52.56, 3.91, 50.60)
CIE-LCHlch(52.56, 50.75, 85.58°)
OKLaboklab(59.25% 0.0054 0.1101)
OKLCHoklch(59.25% 0.11 87.2)
XYZxyz(20.4124, 20.6451, 4.2058)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A791F #1F409A
analogous
#9A3C1F #9A791F #7E9A1F
triadic
#9A791F #1F9A79 #791F9A
tetradic
#9A791F #1F9A3C #1F409A #9A1F7E
square
#9A791F #1F9A3C #1F409A #9A1F7E
split-complementary
#9A791F #1F7E9A #3C1F9A
monochromatic
#34290A #675115 #9A791F #CDA129 #DDB956

Accessibility & contrast

On white

4.09
#9A791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A791F#FFFFFF#000000##000000
##9A791F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#A76E68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a791f;
/* rgb */ color: rgb(154, 121, 31);
/* oklch */ color: oklch(59.2% 0.110 87.2);
Tailwind
colors: {
  custom: {
    50: '#bc9f62',
    500: '#9a791f',
    950: '#000000',
  },
}
SCSS
$custom: #9a791f;
$custom-light: #bc9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9a791f",
  "rgb": {
    "r": 154,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 43.902,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.11021,
    "h": 87.2
  },
  "luminance": 0.20644
}

Semantic roles & 50–950 ramp

primary
#9A791F
secondary
#5471C1
accent
#6CE93E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9A791F

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

Preview Lab → · Contrast checker → · Palette generator →

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