#A7731F#A7731F

#A7731F is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.5% C 0.115 H 74.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A7731F
RGBrgb(167, 115, 31)
HSLhsl(37, 69%, 39%)
HSVhsv(37, 81%, 65%)
CMYKcmyk(0%, 31.1%, 81.4%, 34.5%)
CIE-LABlab(52.48, 13.27, 51.08)
CIE-LCHlch(52.48, 52.78, 75.44°)
OKLaboklab(59.52% 0.0316 0.1104)
OKLCHoklch(59.52% 0.115 74)
XYZxyz(22.3161, 20.5778, 4.0927)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7731F #1F53A7
analogous
#A72F1F #A7731F #97A71F
triadic
#A7731F #1FA773 #731FA7
tetradic
#A7731F #1FA72F #1F53A7 #A71F97
square
#A7731F #1FA72F #1F53A7 #A71F97
split-complementary
#A7731F #1F97A7 #2F1FA7
monochromatic
#402C0C #734F15 #A7731F #D8962B #E1B05F

Accessibility & contrast

On white

4.11
#A7731F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A7731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7731F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7731F#FFFFFF#000000##000000
##A7731F1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760F
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#B66563
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a7731f;
/* rgb */ color: rgb(167, 115, 31);
/* oklch */ color: oklch(59.5% 0.115 74.0);
Tailwind
colors: {
  custom: {
    50: '#c69b62',
    500: '#a7731f',
    950: '#000000',
  },
}
SCSS
$custom: #a7731f;
$custom-light: #c69b62;
$custom-dark: #000000;
JSON
{
  "hex": "#a7731f",
  "rgb": {
    "r": 167,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 37.059,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59524,
    "c": 0.1148,
    "h": 74
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#A7731F
secondary
#5C84C6
accent
#7FEC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A

Preview Lab

Preview with #A7731F

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

Preview Lab → · Contrast checker → · Palette generator →

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