#A5731F#A5731F

#A5731F is a mid, moderate orange. Relative luminance 0.204; OKLCH L 59.3% C 0.114 H 75.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A5731F
RGBrgb(165, 115, 31)
HSLhsl(38, 68%, 38%)
HSVhsv(38, 81%, 65%)
CMYKcmyk(0%, 30.3%, 81.2%, 35.3%)
CIE-LABlab(52.24, 12.36, 50.77)
CIE-LCHlch(52.24, 52.26, 76.32°)
OKLaboklab(59.28% 0.0291 0.1098)
OKLCHoklch(59.28% 0.114 75.2)
XYZxyz(21.8967, 20.3616, 4.0730)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5731F #1F51A5
analogous
#A5301F #A5731F #94A51F
triadic
#A5731F #1FA573 #731FA5
tetradic
#A5731F #1FA530 #1F51A5 #A51F94
square
#A5731F #1FA530 #1F51A5 #A51F94
split-complementary
#A5731F #1F94A5 #301FA5
monochromatic
#3E2B0C #714F15 #A5731F #D7972A #E1B05E

Accessibility & contrast

On white

4.14
#A5731F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A5731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5731F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5731F#FFFFFF#000000##000000
##A5731F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750F
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#B46663
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a5731f;
/* rgb */ color: rgb(165, 115, 31);
/* oklch */ color: oklch(59.3% 0.114 75.2);
Tailwind
colors: {
  custom: {
    50: '#c59b62',
    500: '#a5731f',
    950: '#000000',
  },
}
SCSS
$custom: #a5731f;
$custom-light: #c59b62;
$custom-dark: #000000;
JSON
{
  "hex": "#a5731f",
  "rgb": {
    "r": 165,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 37.612,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59284,
    "c": 0.11361,
    "h": 75.2
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#A5731F
secondary
#5B82C5
accent
#7EEB3D
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A

Preview Lab

Preview with #A5731F

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

Preview Lab → · Contrast checker → · Palette generator →

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