#A7811F#A7811F

#A7811F is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.4% C 0.118 H 85.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A7811F
RGBrgb(167, 129, 31)
HSLhsl(43, 69%, 39%)
HSVhsv(43, 81%, 65%)
CMYKcmyk(0%, 22.8%, 81.4%, 34.5%)
CIE-LABlab(56.10, 5.39, 54.33)
CIE-LCHlch(56.10, 54.60, 84.33°)
OKLaboklab(62.36% 0.0089 0.1174)
OKLCHoklch(62.36% 0.118 85.7)
XYZxyz(24.0355, 24.0167, 4.6658)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7811F #1F45A7
analogous
#A73D1F #A7811F #89A71F
triadic
#A7811F #1FA781 #811FA7
tetradic
#A7811F #1FA73D #1F45A7 #A71F89
square
#A7811F #1FA73D #1F45A7 #A71F89
split-complementary
#A7811F #1F89A7 #3D1FA7
monochromatic
#40310C #735915 #A7811F #D8A82B #E1BD5F

Accessibility & contrast

On white

3.62
#A7811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A7811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7811F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7811F#FFFFFF#000000##000000
##A7811F1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#B6746F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a7811f;
/* rgb */ color: rgb(167, 129, 31);
/* oklch */ color: oklch(62.4% 0.118 85.7);
Tailwind
colors: {
  custom: {
    50: '#c6a564',
    500: '#a7811f',
    950: '#000000',
  },
}
SCSS
$custom: #a7811f;
$custom-light: #c6a564;
$custom-dark: #000000;
JSON
{
  "hex": "#a7811f",
  "rgb": {
    "r": 167,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 43.235,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62359,
    "c": 0.11775,
    "h": 85.7
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#A7811F
secondary
#5C7AC6
accent
#6DEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7811F

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

Preview Lab → · Contrast checker → · Palette generator →

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