#A5872D#A5872D

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

Color values

HEX#A5872D
RGBrgb(165, 135, 45)
HSLhsl(45, 57%, 41%)
HSVhsv(45, 73%, 65%)
CMYKcmyk(0%, 18.2%, 72.7%, 35.3%)
CIE-LABlab(57.58, 1.74, 50.29)
CIE-LCHlch(57.58, 50.32, 88.02°)
OKLaboklab(63.5% 0.0001 0.1119)
OKLCHoklch(63.5% 0.112 90)
XYZxyz(24.6561, 25.5183, 6.1090)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5872D #2D4BA5
analogous
#A54B2D #A5872D #87A52D
triadic
#A5872D #2DA587 #872DA5
tetradic
#A5872D #2DA54B #2D4BA5 #A52D87
square
#A5872D #2DA54B #2D4BA5 #A52D87
split-complementary
#A5872D #2D87A5 #4B2DA5
monochromatic
#453813 #756020 #A5872D #CCAA43 #D9C073

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5872D#FFFFFF#000000##000000
##A5872D1.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)
#968520
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#B37C75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a5872d;
/* rgb */ color: rgb(165, 135, 45);
/* oklch */ color: oklch(63.5% 0.112 90.0);
Tailwind
colors: {
  custom: {
    50: '#c3a96c',
    500: '#a5872d',
    950: '#000000',
  },
}
SCSS
$custom: #a5872d;
$custom-light: #c3a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5872d",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 45,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63498,
    "c": 0.11186,
    "h": 90
  },
  "luminance": 0.25517
}

Semantic roles & 50–950 ramp

primary
#A5872D
secondary
#6D82C1
accent
#6EE047
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A5872D

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

Preview Lab → · Contrast checker → · Palette generator →

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