#A6731F#A6731F

#A6731F is a mid, moderate orange. Relative luminance 0.205; OKLCH L 59.4% C 0.114 H 74.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A6731F
RGBrgb(166, 115, 31)
HSLhsl(37, 69%, 39%)
HSVhsv(37, 81%, 65%)
CMYKcmyk(0%, 30.7%, 81.3%, 34.9%)
CIE-LABlab(52.36, 12.81, 50.93)
CIE-LCHlch(52.36, 52.51, 75.88°)
OKLaboklab(59.4% 0.0304 0.1101)
OKLCHoklch(59.4% 0.114 74.6)
XYZxyz(22.1056, 20.4693, 4.0828)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6731F #1F52A6
analogous
#A62F1F #A6731F #95A61F
triadic
#A6731F #1FA673 #731FA6
tetradic
#A6731F #1FA62F #1F52A6 #A61F95
square
#A6731F #1FA62F #1F52A6 #A61F95
split-complementary
#A6731F #1F95A6 #2F1FA6
monochromatic
#3F2C0C #724F15 #A6731F #D7962B #E1B05E

Accessibility & contrast

On white

4.12
#A6731F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A6731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6731F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6731F#FFFFFF#000000##000000
##A6731F1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85760F
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#B56663
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a6731f;
/* rgb */ color: rgb(166, 115, 31);
/* oklch */ color: oklch(59.4% 0.114 74.6);
Tailwind
colors: {
  custom: {
    50: '#c69b62',
    500: '#a6731f',
    950: '#000000',
  },
}
SCSS
$custom: #a6731f;
$custom-light: #c69b62;
$custom-dark: #000000;
JSON
{
  "hex": "#a6731f",
  "rgb": {
    "r": 166,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 37.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59404,
    "c": 0.1142,
    "h": 74.6
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#A6731F
secondary
#5B83C5
accent
#7FEB3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A

Preview Lab

Preview with #A6731F

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

Preview Lab → · Contrast checker → · Palette generator →

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