#A8791F#A8791F

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

Color values

HEX#A8791F
RGBrgb(168, 121, 31)
HSLhsl(39, 69%, 39%)
HSVhsv(39, 82%, 66%)
CMYKcmyk(0%, 28%, 81.5%, 34.1%)
CIE-LABlab(54.13, 10.34, 52.61)
CIE-LCHlch(54.13, 53.62, 78.89°)
OKLaboklab(60.84% 0.0231 0.1136)
OKLCHoklch(60.84% 0.116 78.5)
XYZxyz(23.2348, 22.1004, 4.3381)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8791F #1F4EA8
analogous
#A8351F #A8791F #93A81F
triadic
#A8791F #1FA879 #791FA8
tetradic
#A8791F #1FA835 #1F4EA8 #A81F93
square
#A8791F #1FA835 #1F4EA8 #A81F93
split-complementary
#A8791F #1F93A8 #351FA8
monochromatic
#412F0C #745415 #A8791F #D89D2C #E2B560

Accessibility & contrast

On white

3.87
#A8791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8791F#FFFFFF#000000##000000
##A8791F1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8791f;
/* rgb */ color: rgb(168, 121, 31);
/* oklch */ color: oklch(60.8% 0.116 78.5);
Tailwind
colors: {
  custom: {
    50: '#c79f63',
    500: '#a8791f',
    950: '#000000',
  },
}
SCSS
$custom: #a8791f;
$custom-light: #c79f63;
$custom-dark: #000000;
JSON
{
  "hex": "#a8791f",
  "rgb": {
    "r": 168,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 39.416,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.11594,
    "h": 78.5
  },
  "luminance": 0.22099
}

Semantic roles & 50–950 ramp

primary
#A8791F
secondary
#5D81C6
accent
#78EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A

Preview Lab

Preview with #A8791F

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

Preview Lab → · Contrast checker → · Palette generator →

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