#A7731B#A7731B

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

Color values

HEX#A7731B
RGBrgb(167, 115, 27)
HSLhsl(38, 72%, 38%)
HSVhsv(38, 84%, 65%)
CMYKcmyk(0%, 31.1%, 83.8%, 34.5%)
CIE-LABlab(52.46, 13.13, 52.50)
CIE-LCHlch(52.46, 54.11, 75.95°)
OKLaboklab(59.5% 0.0308 0.1125)
OKLCHoklch(59.5% 0.117 74.7)
XYZxyz(22.2666, 20.5581, 3.8321)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7731B #1B4FA7
analogous
#A72D1B #A7731B #95A71B
triadic
#A7731B #1BA773 #731BA7
tetradic
#A7731B #1BA72D #1B4FA7 #A71B95
square
#A7731B #1BA72D #1B4FA7 #A71B95
split-complementary
#A7731B #1B95A7 #2D1BA7
monochromatic
#3E2A0A #724F12 #A7731B #DC9724 #E4B058

Accessibility & contrast

On white

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

On black

5.11
#A7731B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7731B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7731B#FFFFFF#000000##000000
##A7731B1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7731b;
/* rgb */ color: rgb(167, 115, 27);
/* oklch */ color: oklch(59.5% 0.117 74.7);
Tailwind
colors: {
  custom: {
    50: '#c69b60',
    500: '#a7731b',
    950: '#000000',
  },
}
SCSS
$custom: #a7731b;
$custom-light: #c69b60;
$custom-dark: #000000;
JSON
{
  "hex": "#a7731b",
  "rgb": {
    "r": 167,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 37.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.595,
    "c": 0.11659,
    "h": 74.7
  },
  "luminance": 0.20556
}

Semantic roles & 50–950 ramp

primary
#A7731B
secondary
#5680C8
accent
#7DEF39
background
#FCF9F5
surface
#F9F2EA
border
#D2CCC6
text
#140E05
muted
#827E79

Preview Lab

Preview with #A7731B

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

Preview Lab → · Contrast checker → · Palette generator →

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