#A5831C#A5831C

#A5831C is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.5% C 0.119 H 88.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A5831C
RGBrgb(165, 131, 28)
HSLhsl(45, 71%, 38%)
HSVhsv(45, 83%, 65%)
CMYKcmyk(0%, 20.6%, 83%, 35.3%)
CIE-LABlab(56.40, 3.26, 55.50)
CIE-LCHlch(56.40, 55.60, 86.64°)
OKLaboklab(62.54% 0.0026 0.1194)
OKLCHoklch(62.54% 0.119 88.8)
XYZxyz(23.8445, 24.3174, 4.5362)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5831C #1C3EA5
analogous
#A53E1C #A5831C #83A51C
triadic
#A5831C #1CA583 #831CA5
tetradic
#A5831C #1CA53E #1C3EA5 #A51C83
square
#A5831C #1CA53E #1C3EA5 #A51C83
split-complementary
#A5831C #1C83A5 #3E1CA5
monochromatic
#3C300A #715913 #A5831C #D9AD25 #E3C059

Accessibility & contrast

On white

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

On black

5.86
#A5831C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5831C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5831C#FFFFFF#000000##000000
##A5831C1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5831c;
/* rgb */ color: rgb(165, 131, 28);
/* oklch */ color: oklch(62.5% 0.119 88.8);
Tailwind
colors: {
  custom: {
    50: '#c4a663',
    500: '#a5831c',
    950: '#000000',
  },
}
SCSS
$custom: #a5831c;
$custom-light: #c4a663;
$custom-dark: #000000;
JSON
{
  "hex": "#a5831c",
  "rgb": {
    "r": 165,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 45.109,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.11942,
    "h": 88.8
  },
  "luminance": 0.24316
}

Semantic roles & 50–950 ramp

primary
#A5831C
secondary
#5672C6
accent
#67EE3A
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A5831C

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

Preview Lab → · Contrast checker → · Palette generator →

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