#A2872C#A2872C

#A2872C is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.2% C 0.112 H 92.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A2872C
RGBrgb(162, 135, 44)
HSLhsl(46, 57%, 40%)
HSVhsv(46, 73%, 64%)
CMYKcmyk(0%, 16.7%, 72.8%, 36.5%)
CIE-LABlab(57.26, 0.33, 50.29)
CIE-LCHlch(57.26, 50.29, 89.62°)
OKLaboklab(63.18% -0.0039 0.1118)
OKLCHoklch(63.18% 0.112 92)
XYZxyz(24.0202, 25.1926, 5.9799)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2872C #2C47A2
analogous
#A24C2C #A2872C #82A22C
triadic
#A2872C #2CA287 #872CA2
tetradic
#A2872C #2CA24C #2C47A2 #A22C82
square
#A2872C #2CA24C #2C47A2 #A22C82
split-complementary
#A2872C #2C82A2 #4C2CA2
monochromatic
#423712 #725F1F #A2872C #CBAB40 #D8C070

Accessibility & contrast

On white

3.48
#A2872C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A2872C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A2872C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2872C#FFFFFF#000000##000000
##A2872C1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851F
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#AF7C75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a2872c;
/* rgb */ color: rgb(162, 135, 44);
/* oklch */ color: oklch(63.2% 0.112 92.0);
Tailwind
colors: {
  custom: {
    50: '#c1a96b',
    500: '#a2872c',
    950: '#000000',
  },
}
SCSS
$custom: #a2872c;
$custom-light: #c1a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2872c",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 46.271,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63177,
    "c": 0.11186,
    "h": 92
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#A2872C
secondary
#6A7EBF
accent
#6AE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A2872C

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

Preview Lab → · Contrast checker → · Palette generator →

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