#A7791B#A7791B

#A7791B is a mid, moderate orange. Relative luminance 0.220; OKLCH L 60.7% C 0.117 H 79.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A7791B
RGBrgb(167, 121, 27)
HSLhsl(40, 72%, 38%)
HSVhsv(40, 84%, 65%)
CMYKcmyk(0%, 27.5%, 83.8%, 34.5%)
CIE-LABlab(54.00, 9.75, 53.83)
CIE-LCHlch(54.00, 54.70, 79.73°)
OKLaboklab(60.7% 0.021 0.1154)
OKLCHoklch(60.7% 0.117 79.7)
XYZxyz(22.9732, 21.9712, 4.0676)
Luminance0.2197 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7791B #1B49A7
analogous
#A7331B #A7791B #8FA71B
triadic
#A7791B #1BA779 #791BA7
tetradic
#A7791B #1BA733 #1B49A7 #A71B8F
square
#A7791B #1BA733 #1B49A7 #A71B8F
split-complementary
#A7791B #1B8FA7 #331BA7
monochromatic
#3E2D0A #725312 #A7791B #DC9F24 #E4B658

Accessibility & contrast

On white

3.89
#A7791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#A7791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7791B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7791B#FFFFFF#000000##000000
##A7791B1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7791b;
/* rgb */ color: rgb(167, 121, 27);
/* oklch */ color: oklch(60.7% 0.117 79.7);
Tailwind
colors: {
  custom: {
    50: '#c69f61',
    500: '#a7791b',
    950: '#000000',
  },
}
SCSS
$custom: #a7791b;
$custom-light: #c69f61;
$custom-dark: #000000;
JSON
{
  "hex": "#a7791b",
  "rgb": {
    "r": 167,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 40.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60699,
    "c": 0.11727,
    "h": 79.7
  },
  "luminance": 0.21969
}

Semantic roles & 50–950 ramp

primary
#A7791B
secondary
#567BC8
accent
#75EF39
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A

Preview Lab

Preview with #A7791B

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

Preview Lab → · Contrast checker → · Palette generator →

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