#A8791B#A8791B

#A8791B is a mid, moderate orange. Relative luminance 0.221; OKLCH L 60.8% C 0.118 H 79.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A8791B
RGBrgb(168, 121, 27)
HSLhsl(40, 72%, 38%)
HSVhsv(40, 84%, 66%)
CMYKcmyk(0%, 28%, 83.9%, 34.1%)
CIE-LABlab(54.11, 10.20, 53.97)
CIE-LCHlch(54.11, 54.93, 79.29°)
OKLaboklab(60.82% 0.0223 0.1156)
OKLCHoklch(60.82% 0.118 79.1)
XYZxyz(23.1853, 22.0806, 4.0776)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8791B #1B4AA8
analogous
#A8321B #A8791B #90A81B
triadic
#A8791B #1BA879 #791BA8
tetradic
#A8791B #1BA832 #1B4AA8 #A81B90
square
#A8791B #1BA832 #1B4AA8 #A81B90
split-complementary
#A8791B #1B90A8 #321BA8
monochromatic
#3F2D0A #735313 #A8791B #DC9F24 #E4B659

Accessibility & contrast

On white

3.88
#A8791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A8791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8791B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8791B#FFFFFF#000000##000000
##A8791B1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A03
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#B76C68
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a8791b;
/* rgb */ color: rgb(168, 121, 27);
/* oklch */ color: oklch(60.8% 0.118 79.1);
Tailwind
colors: {
  custom: {
    50: '#c79f61',
    500: '#a8791b',
    950: '#000000',
  },
}
SCSS
$custom: #a8791b;
$custom-light: #c79f61;
$custom-dark: #000000;
JSON
{
  "hex": "#a8791b",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 40,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.11774,
    "h": 79.1
  },
  "luminance": 0.22079
}

Semantic roles & 50–950 ramp

primary
#A8791B
secondary
#577DC8
accent
#76EF39
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A

Preview Lab

Preview with #A8791B

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

Preview Lab → · Contrast checker → · Palette generator →

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