#A4872F#A4872F

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

Color values

HEX#A4872F
RGBrgb(164, 135, 47)
HSLhsl(45, 55%, 41%)
HSVhsv(45, 71%, 64%)
CMYKcmyk(0%, 17.7%, 71.3%, 35.7%)
CIE-LABlab(57.49, 1.39, 49.32)
CIE-LCHlch(57.49, 49.34, 88.38°)
OKLaboklab(63.41% -0.0006 0.1102)
OKLCHoklch(63.41% 0.11 90.3)
XYZxyz(24.4882, 25.4272, 6.3069)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4872F #2F4CA4
analogous
#A44D2F #A4872F #87A42F
triadic
#A4872F #2FA487 #872FA4
tetradic
#A4872F #2FA44D #2F4CA4 #A42F87
square
#A4872F #2FA44D #2F4CA4 #A42F87
split-complementary
#A4872F #2F87A4 #4D2FA4
monochromatic
#453914 #746021 #A4872F #CAA946 #D8BF76

Accessibility & contrast

On white

3.45
#A4872F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A4872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A4872F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4872F#FFFFFF#000000##000000
##A4872F1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968523
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#B17C75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a4872f;
/* rgb */ color: rgb(164, 135, 47);
/* oklch */ color: oklch(63.4% 0.110 90.3);
Tailwind
colors: {
  custom: {
    50: '#c3a96d',
    500: '#a4872f',
    950: '#000000',
  },
}
SCSS
$custom: #a4872f;
$custom-light: #c3a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4872f",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 45.128,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6341,
    "c": 0.11023,
    "h": 90.3
  },
  "luminance": 0.25426
}

Semantic roles & 50–950 ramp

primary
#A4872F
secondary
#6F83C0
accent
#6EDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A4872F

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

Preview Lab → · Contrast checker → · Palette generator →

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