#A4872A#A4872A

#A4872A is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.4% C 0.114 H 91.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A4872A
RGBrgb(164, 135, 42)
HSLhsl(46, 59%, 40%)
HSVhsv(46, 74%, 64%)
CMYKcmyk(0%, 17.7%, 74.4%, 35.7%)
CIE-LABlab(57.45, 1.14, 51.37)
CIE-LCHlch(57.45, 51.38, 88.73°)
OKLaboklab(63.37% -0.0019 0.1136)
OKLCHoklch(63.37% 0.114 91)
XYZxyz(24.3931, 25.3891, 5.8058)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4872A #2A47A4
analogous
#A44A2A #A4872A #84A42A
triadic
#A4872A #2AA487 #872AA4
tetradic
#A4872A #2AA44A #2A47A4 #A42A84
square
#A4872A #2AA44A #2A47A4 #A42A84
split-complementary
#A4872A #2A84A4 #4A2AA4
monochromatic
#433711 #735F1E #A4872A #CDAB3E #DAC06E

Accessibility & contrast

On white

3.46
#A4872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A4872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A4872A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4872A#FFFFFF#000000##000000
##A4872A1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#9E8D2F
Tritanopia (blue-blind)
#B27C75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a4872a;
/* rgb */ color: rgb(164, 135, 42);
/* oklch */ color: oklch(63.4% 0.114 91.0);
Tailwind
colors: {
  custom: {
    50: '#c3a96a',
    500: '#a4872a',
    950: '#000000',
  },
}
SCSS
$custom: #a4872a;
$custom-light: #c3a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4872a",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 45.738,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63369,
    "c": 0.11361,
    "h": 91
  },
  "luminance": 0.25388
}

Semantic roles & 50–950 ramp

primary
#A4872A
secondary
#697EC1
accent
#6BE245
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A4872A

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

Preview Lab → · Contrast checker → · Palette generator →

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