#A5831F#A5831F

#A5831F is a light, moderate orange. Relative luminance 0.243; OKLCH L 62.6% C 0.118 H 88.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A5831F
RGBrgb(165, 131, 31)
HSLhsl(45, 68%, 38%)
HSVhsv(45, 81%, 65%)
CMYKcmyk(0%, 20.6%, 81.2%, 35.3%)
CIE-LABlab(56.42, 3.36, 54.53)
CIE-LCHlch(56.42, 54.63, 86.47°)
OKLaboklab(62.56% 0.0032 0.118)
OKLCHoklch(62.56% 0.118 88.5)
XYZxyz(23.8822, 24.3325, 4.7348)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5831F #1F41A5
analogous
#A5401F #A5831F #84A51F
triadic
#A5831F #1FA583 #831FA5
tetradic
#A5831F #1FA540 #1F41A5 #A51F84
square
#A5831F #1FA540 #1F41A5 #A51F84
split-complementary
#A5831F #1F84A5 #401FA5
monochromatic
#3E310C #715A15 #A5831F #D7AB2A #E1BF5E

Accessibility & contrast

On white

3.58
#A5831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A5831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5831F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5831F#FFFFFF#000000##000000
##A5831F1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938207
Deuteranopia (green-blind)
#9C8B25
Tritanopia (blue-blind)
#B37770
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a5831f;
/* rgb */ color: rgb(165, 131, 31);
/* oklch */ color: oklch(62.6% 0.118 88.5);
Tailwind
colors: {
  custom: {
    50: '#c4a664',
    500: '#a5831f',
    950: '#000000',
  },
}
SCSS
$custom: #a5831f;
$custom-light: #c4a664;
$custom-dark: #000000;
JSON
{
  "hex": "#a5831f",
  "rgb": {
    "r": 165,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 44.776,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62558,
    "c": 0.11799,
    "h": 88.5
  },
  "luminance": 0.24331
}

Semantic roles & 50–950 ramp

primary
#A5831F
secondary
#5B76C5
accent
#69EB3D
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A5831F

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

Preview Lab → · Contrast checker → · Palette generator →

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