#A6872A#A6872A

#A6872A is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.6% C 0.114 H 89.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A6872A
RGBrgb(166, 135, 42)
HSLhsl(45, 60%, 41%)
HSVhsv(45, 75%, 65%)
CMYKcmyk(0%, 18.7%, 74.7%, 34.9%)
CIE-LABlab(57.66, 2.05, 51.64)
CIE-LCHlch(57.66, 51.68, 87.73°)
OKLaboklab(63.58% 0.0006 0.1141)
OKLCHoklch(63.58% 0.114 89.7)
XYZxyz(24.8092, 25.6037, 5.8253)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6872A #2A49A6
analogous
#A6492A #A6872A #87A62A
triadic
#A6872A #2AA687 #872AA6
tetradic
#A6872A #2AA649 #2A49A6 #A62A87
square
#A6872A #2AA649 #2A49A6 #A62A87
split-complementary
#A6872A #2A87A6 #492AA6
monochromatic
#443811 #755F1E #A6872A #CEAA3F #DBC070

Accessibility & contrast

On white

3.43
#A6872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A6872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6872A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6872A#FFFFFF#000000##000000
##A6872A1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851B
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#B47B75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a6872a;
/* rgb */ color: rgb(166, 135, 42);
/* oklch */ color: oklch(63.6% 0.114 89.7);
Tailwind
colors: {
  custom: {
    50: '#c4a96a',
    500: '#a6872a',
    950: '#000000',
  },
}
SCSS
$custom: #a6872a;
$custom-light: #c4a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6872a",
  "rgb": {
    "r": 166,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 45,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6358,
    "c": 0.11408,
    "h": 89.7
  },
  "luminance": 0.25602
}

Semantic roles & 50–950 ramp

primary
#A6872A
secondary
#6A80C2
accent
#6CE345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A6872A

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

Preview Lab → · Contrast checker → · Palette generator →

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