#A7831B#A7831B

#A7831B is a light, vivid orange. Relative luminance 0.245; OKLCH L 62.8% C 0.120 H 87.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A7831B
RGBrgb(167, 131, 27)
HSLhsl(45, 72%, 38%)
HSVhsv(45, 84%, 65%)
CMYKcmyk(0%, 21.6%, 83.8%, 34.5%)
CIE-LABlab(56.61, 4.14, 56.08)
CIE-LCHlch(56.61, 56.23, 85.78°)
OKLaboklab(62.75% 0.0049 0.1203)
OKLCHoklch(62.75% 0.12 87.7)
XYZxyz(24.2520, 24.5289, 4.4939)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7831B #1B3FA7
analogous
#A73D1B #A7831B #85A71B
triadic
#A7831B #1BA783 #831BA7
tetradic
#A7831B #1BA73D #1B3FA7 #A71B85
square
#A7831B #1BA73D #1B3FA7 #A71B85
split-complementary
#A7831B #1B85A7 #3D1BA7
monochromatic
#3E300A #725A12 #A7831B #DCAC24 #E4C058

Accessibility & contrast

On white

3.56
#A7831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#A7831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7831B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7831B#FFFFFF#000000##000000
##A7831B1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9C8C22
Tritanopia (blue-blind)
#B67670
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a7831b;
/* rgb */ color: rgb(167, 131, 27);
/* oklch */ color: oklch(62.8% 0.120 87.7);
Tailwind
colors: {
  custom: {
    50: '#c6a662',
    500: '#a7831b',
    950: '#000000',
  },
}
SCSS
$custom: #a7831b;
$custom-light: #c6a662;
$custom-dark: #000000;
JSON
{
  "hex": "#a7831b",
  "rgb": {
    "r": 167,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 44.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62753,
    "c": 0.1204,
    "h": 87.7
  },
  "luminance": 0.24527
}

Semantic roles & 50–950 ramp

primary
#A7831B
secondary
#5673C8
accent
#68EF39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7831B

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

Preview Lab → · Contrast checker → · Palette generator →

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