#A2872F#A2872F

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

Color values

HEX#A2872F
RGBrgb(162, 135, 47)
HSLhsl(46, 55%, 41%)
HSVhsv(46, 71%, 64%)
CMYKcmyk(0%, 16.7%, 71%, 36.5%)
CIE-LABlab(57.29, 0.49, 49.05)
CIE-LCHlch(57.29, 49.05, 89.43°)
OKLaboklab(63.2% -0.0031 0.1097)
OKLCHoklch(63.2% 0.11 91.6)
XYZxyz(24.0786, 25.2160, 6.2877)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2872F #2F4AA2
analogous
#A24D2F #A2872F #83A22F
triadic
#A2872F #2FA287 #872FA2
tetradic
#A2872F #2FA24D #2F4AA2 #A22F83
square
#A2872F #2FA24D #2F4AA2 #A22F83
split-complementary
#A2872F #2F83A2 #4D2FA2
monochromatic
#433813 #735F21 #A2872F #C9AA45 #D7C075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2872F#FFFFFF#000000##000000
##A2872F1.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)
#968523
Deuteranopia (green-blind)
#9C8D33
Tritanopia (blue-blind)
#AF7C75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a2872f;
/* rgb */ color: rgb(162, 135, 47);
/* oklch */ color: oklch(63.2% 0.110 91.6);
Tailwind
colors: {
  custom: {
    50: '#c1a96d',
    500: '#a2872f',
    950: '#000000',
  },
}
SCSS
$custom: #a2872f;
$custom-light: #c1a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2872f",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 45.913,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63202,
    "c": 0.10977,
    "h": 91.6
  },
  "luminance": 0.25215
}

Semantic roles & 50–950 ramp

primary
#A2872F
secondary
#6E81BF
accent
#6CDE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A2872F

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

Preview Lab → · Contrast checker → · Palette generator →

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