#A2872A#A2872A

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

Color values

HEX#A2872A
RGBrgb(162, 135, 42)
HSLhsl(47, 59%, 40%)
HSVhsv(47, 74%, 64%)
CMYKcmyk(0%, 16.7%, 74.1%, 36.5%)
CIE-LABlab(57.25, 0.23, 51.10)
CIE-LCHlch(57.25, 51.10, 89.74°)
OKLaboklab(63.16% -0.0044 0.1131)
OKLCHoklch(63.16% 0.113 92.2)
XYZxyz(23.9835, 25.1779, 5.7866)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2872A #2A45A2
analogous
#A24B2A #A2872A #81A22A
triadic
#A2872A #2AA287 #872AA2
tetradic
#A2872A #2AA24B #2A45A2 #A22A81
square
#A2872A #2AA24B #2A45A2 #A22A81
split-complementary
#A2872A #2A81A2 #4B2AA2
monochromatic
#413611 #715F1D #A2872A #CDAC3D #D9C16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2872A#FFFFFF#000000##000000
##A2872A1.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)
#96851C
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#AF7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a2872a;
/* rgb */ color: rgb(162, 135, 42);
/* oklch */ color: oklch(63.2% 0.113 92.2);
Tailwind
colors: {
  custom: {
    50: '#c1a96a',
    500: '#a2872a',
    950: '#000000',
  },
}
SCSS
$custom: #a2872a;
$custom-light: #c1a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2872a",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 46.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.63161,
    "c": 0.11319,
    "h": 92.2
  },
  "luminance": 0.25176
}

Semantic roles & 50–950 ramp

primary
#A2872A
secondary
#687CC0
accent
#69E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A2872A

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

Preview Lab → · Contrast checker → · Palette generator →

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