#A5872C#A5872C

#A5872C is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.5% C 0.113 H 90.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A5872C
RGBrgb(165, 135, 44)
HSLhsl(45, 58%, 41%)
HSVhsv(45, 73%, 65%)
CMYKcmyk(0%, 18.2%, 73.3%, 35.3%)
CIE-LABlab(57.57, 1.69, 50.70)
CIE-LCHlch(57.57, 50.73, 88.09°)
OKLaboklab(63.49% -0.0002 0.1125)
OKLCHoklch(63.49% 0.113 90.1)
XYZxyz(24.6370, 25.5106, 6.0088)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5872C #2C4AA5
analogous
#A54A2C #A5872C #86A52C
triadic
#A5872C #2CA587 #872CA5
tetradic
#A5872C #2CA54A #2C4AA5 #A52C86
square
#A5872C #2CA54A #2C4AA5 #A52C86
split-complementary
#A5872C #2C86A5 #4A2CA5
monochromatic
#443812 #755F1F #A5872C #CDAA42 #D9C072

Accessibility & contrast

On white

3.44
#A5872C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A5872C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5872C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5872C#FFFFFF#000000##000000
##A5872C1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851F
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#B37B75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a5872c;
/* rgb */ color: rgb(165, 135, 44);
/* oklch */ color: oklch(63.5% 0.113 90.1);
Tailwind
colors: {
  custom: {
    50: '#c3a96b',
    500: '#a5872c',
    950: '#000000',
  },
}
SCSS
$custom: #a5872c;
$custom-light: #c3a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5872c",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 45.124,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6349,
    "c": 0.11253,
    "h": 90.1
  },
  "luminance": 0.25509
}

Semantic roles & 50–950 ramp

primary
#A5872C
secondary
#6C81C1
accent
#6DE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A5872C

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

Preview Lab → · Contrast checker → · Palette generator →

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