#A1791B#A1791B

#A1791B is a mid, moderate orange. Relative luminance 0.213; OKLCH L 60.0% C 0.115 H 83.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A1791B
RGBrgb(161, 121, 27)
HSLhsl(42, 71%, 37%)
HSVhsv(42, 83%, 63%)
CMYKcmyk(0%, 24.8%, 83.2%, 36.9%)
CIE-LABlab(53.31, 7.00, 52.96)
CIE-LCHlch(53.31, 53.42, 82.47°)
OKLaboklab(60.01% 0.0134 0.1139)
OKLCHoklch(60.01% 0.115 83.3)
XYZxyz(21.7346, 21.3326, 4.0096)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1791B #1B43A1
analogous
#A1361B #A1791B #86A11B
triadic
#A1791B #1BA179 #791BA1
tetradic
#A1791B #1BA136 #1B43A1 #A11B86
square
#A1791B #1BA136 #1B43A1 #A11B86
split-complementary
#A1791B #1B86A1 #361BA1
monochromatic
#382A09 #6D5212 #A1791B #D5A024 #E2B854

Accessibility & contrast

On white

3.99
#A1791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A1791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1791B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1791B#FFFFFF#000000##000000
##A1791B1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7903
Deuteranopia (green-blind)
#938420
Tritanopia (blue-blind)
#AF6D68
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a1791b;
/* rgb */ color: rgb(161, 121, 27);
/* oklch */ color: oklch(60.0% 0.115 83.3);
Tailwind
colors: {
  custom: {
    50: '#c29f61',
    500: '#a1791b',
    950: '#000000',
  },
}
SCSS
$custom: #a1791b;
$custom-light: #c29f61;
$custom-dark: #000000;
JSON
{
  "hex": "#a1791b",
  "rgb": {
    "r": 161,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 42.09,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.11466,
    "h": 83.3
  },
  "luminance": 0.21331
}

Semantic roles & 50–950 ramp

primary
#A1791B
secondary
#5275C5
accent
#70EE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #A1791B

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

Preview Lab → · Contrast checker → · Palette generator →

#A1791B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva