#A5872A#A5872A

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

Color values

HEX#A5872A
RGBrgb(165, 135, 42)
HSLhsl(45, 59%, 41%)
HSVhsv(45, 75%, 65%)
CMYKcmyk(0%, 18.2%, 74.5%, 35.3%)
CIE-LABlab(57.56, 1.59, 51.50)
CIE-LCHlch(57.56, 51.53, 88.23°)
OKLaboklab(63.47% -0.0007 0.1138)
OKLCHoklch(63.47% 0.114 90.3)
XYZxyz(24.6003, 25.4960, 5.8155)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5872A #2A48A5
analogous
#A54A2A #A5872A #85A52A
triadic
#A5872A #2AA587 #872AA5
tetradic
#A5872A #2AA54A #2A48A5 #A52A85
square
#A5872A #2AA54A #2A48A5 #A52A85
split-complementary
#A5872A #2A85A5 #4A2AA5
monochromatic
#433711 #745F1E #A5872A #CEAB3E #DAC06F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5872A#FFFFFF#000000##000000
##A5872A1.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)
#97851B
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#B37B75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a5872a;
/* rgb */ color: rgb(165, 135, 42);
/* oklch */ color: oklch(63.5% 0.114 90.3);
Tailwind
colors: {
  custom: {
    50: '#c4a96a',
    500: '#a5872a',
    950: '#000000',
  },
}
SCSS
$custom: #a5872a;
$custom-light: #c4a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5872a",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 45.366,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63474,
    "c": 0.11383,
    "h": 90.3
  },
  "luminance": 0.25494
}

Semantic roles & 50–950 ramp

primary
#A5872A
secondary
#697FC1
accent
#6CE345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A5872A

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

Preview Lab → · Contrast checker → · Palette generator →

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