#A7831F#A7831F

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

Color values

HEX#A7831F
RGBrgb(167, 131, 31)
HSLhsl(44, 69%, 39%)
HSVhsv(44, 81%, 65%)
CMYKcmyk(0%, 21.6%, 81.4%, 34.5%)
CIE-LABlab(56.63, 4.27, 54.80)
CIE-LCHlch(56.63, 54.97, 85.54°)
OKLaboklab(62.78% 0.0057 0.1184)
OKLCHoklch(62.78% 0.119 87.3)
XYZxyz(24.3015, 24.5487, 4.7545)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7831F #1F43A7
analogous
#A73F1F #A7831F #87A71F
triadic
#A7831F #1FA783 #831FA7
tetradic
#A7831F #1FA73F #1F43A7 #A71F87
square
#A7831F #1FA73F #1F43A7 #A71F87
split-complementary
#A7831F #1F87A7 #3F1FA7
monochromatic
#40320C #735B15 #A7831F #D8AA2B #E1BF5F

Accessibility & contrast

On white

3.55
#A7831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7831F#FFFFFF#000000##000000
##A7831F1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948207
Deuteranopia (green-blind)
#9C8C25
Tritanopia (blue-blind)
#B67770
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a7831f;
/* rgb */ color: rgb(167, 131, 31);
/* oklch */ color: oklch(62.8% 0.119 87.3);
Tailwind
colors: {
  custom: {
    50: '#c6a664',
    500: '#a7831f',
    950: '#000000',
  },
}
SCSS
$custom: #a7831f;
$custom-light: #c6a664;
$custom-dark: #000000;
JSON
{
  "hex": "#a7831f",
  "rgb": {
    "r": 167,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 44.118,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62775,
    "c": 0.11857,
    "h": 87.3
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#A7831F
secondary
#5C78C6
accent
#6BEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7831F

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

Preview Lab → · Contrast checker → · Palette generator →

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