#A2872D#A2872D

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

Color values

HEX#A2872D
RGBrgb(162, 135, 45)
HSLhsl(46, 57%, 41%)
HSVhsv(46, 72%, 64%)
CMYKcmyk(0%, 16.7%, 72.2%, 36.5%)
CIE-LABlab(57.27, 0.38, 49.88)
CIE-LCHlch(57.27, 49.88, 89.56°)
OKLaboklab(63.19% -0.0036 0.1111)
OKLCHoklch(63.19% 0.111 91.9)
XYZxyz(24.0392, 25.2002, 6.0801)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2872D #2D48A2
analogous
#A24C2D #A2872D #82A22D
triadic
#A2872D #2DA287 #872DA2
tetradic
#A2872D #2DA24C #2D48A2 #A22D82
square
#A2872D #2DA24C #2D48A2 #A22D82
split-complementary
#A2872D #2D82A2 #4C2DA2
monochromatic
#423712 #725F20 #A2872D #CAAB42 #D8C072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2872D#FFFFFF#000000##000000
##A2872D1.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)
#968520
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#AF7C75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a2872d;
/* rgb */ color: rgb(162, 135, 45);
/* oklch */ color: oklch(63.2% 0.111 91.9);
Tailwind
colors: {
  custom: {
    50: '#c1a96c',
    500: '#a2872d',
    950: '#000000',
  },
}
SCSS
$custom: #a2872d;
$custom-light: #c1a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2872d",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 46.154,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63185,
    "c": 0.11118,
    "h": 91.9
  },
  "luminance": 0.25199
}

Semantic roles & 50–950 ramp

primary
#A2872D
secondary
#6C7FBF
accent
#6BE048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A2872D

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

Preview Lab → · Contrast checker → · Palette generator →

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