#A2872B#A2872B

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

Color values

HEX#A2872B
RGBrgb(162, 135, 43)
HSLhsl(46, 58%, 40%)
HSVhsv(46, 73%, 64%)
CMYKcmyk(0%, 16.7%, 73.5%, 36.5%)
CIE-LABlab(57.26, 0.28, 50.70)
CIE-LCHlch(57.26, 50.70, 89.68°)
OKLaboklab(63.17% -0.0041 0.1125)
OKLCHoklch(63.17% 0.113 92.1)
XYZxyz(24.0016, 25.1852, 5.8821)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2872B #2B46A2
analogous
#A24C2B #A2872B #81A22B
triadic
#A2872B #2BA287 #872BA2
tetradic
#A2872B #2BA24C #2B46A2 #A22B81
square
#A2872B #2BA24C #2B46A2 #A22B81
split-complementary
#A2872B #2B81A2 #4C2BA2
monochromatic
#413611 #725F1E #A2872B #CCAC3E #D9C16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2872B#FFFFFF#000000##000000
##A2872B1.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)
#96851D
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#AF7C75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a2872b;
/* rgb */ color: rgb(162, 135, 43);
/* oklch */ color: oklch(63.2% 0.113 92.1);
Tailwind
colors: {
  custom: {
    50: '#c1a96a',
    500: '#a2872b',
    950: '#000000',
  },
}
SCSS
$custom: #a2872b;
$custom-light: #c1a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2872b",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 46.387,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.11253,
    "h": 92.1
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#A2872B
secondary
#697DC0
accent
#6AE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A2872B

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

Preview Lab → · Contrast checker → · Palette generator →

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