#A5872B#A5872B

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

Color values

HEX#A5872B
RGBrgb(165, 135, 43)
HSLhsl(45, 59%, 41%)
HSVhsv(45, 74%, 65%)
CMYKcmyk(0%, 18.2%, 73.9%, 35.3%)
CIE-LABlab(57.56, 1.64, 51.10)
CIE-LCHlch(57.56, 51.13, 88.16°)
OKLaboklab(63.48% -0.0004 0.1132)
OKLCHoklch(63.48% 0.113 90.2)
XYZxyz(24.6185, 25.5032, 5.9110)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5872B #2B49A5
analogous
#A54A2B #A5872B #86A52B
triadic
#A5872B #2BA587 #872BA5
tetradic
#A5872B #2BA54A #2B49A5 #A52B86
square
#A5872B #2BA54A #2B49A5 #A52B86
split-complementary
#A5872B #2B86A5 #4A2BA5
monochromatic
#443812 #745F1E #A5872B #CDAA40 #DAC071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5872B#FFFFFF#000000##000000
##A5872B1.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)
#97851D
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#B37B75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a5872b;
/* rgb */ color: rgb(165, 135, 43);
/* oklch */ color: oklch(63.5% 0.113 90.2);
Tailwind
colors: {
  custom: {
    50: '#c4a96b',
    500: '#a5872b',
    950: '#000000',
  },
}
SCSS
$custom: #a5872b;
$custom-light: #c4a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5872b",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 45.246,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.11319,
    "h": 90.2
  },
  "luminance": 0.25502
}

Semantic roles & 50–950 ramp

primary
#A5872B
secondary
#6B80C1
accent
#6CE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A5872B

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

Preview Lab → · Contrast checker → · Palette generator →

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