#A4A171#A4A171

#A4A171 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.066 H 104.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A4A171
RGBrgb(164, 161, 113)
HSLhsl(56, 22%, 54%)
HSVhsv(56, 31%, 64%)
CMYKcmyk(0%, 1.8%, 31.1%, 35.7%)
CIE-LABlab(65.42, -6.63, 25.45)
CIE-LCHlch(65.42, 26.30, 104.60°)
OKLaboklab(69.95% -0.0169 0.0635)
OKLCHoklch(69.95% 0.066 104.9)
XYZxyz(31.0356, 34.5751, 20.6583)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A171 #7174A4
analogous
#A48871 #A4A171 #8EA471
triadic
#A4A171 #71A4A1 #A171A4
tetradic
#A4A171 #71A488 #7174A4 #A4718E
square
#A4A171 #71A488 #7174A4 #A4718E
split-complementary
#A4A171 #718EA4 #8871A4
monochromatic
#5E5C3C #848154 #A4A171 #BCBA96 #D4D2BC

Accessibility & contrast

On white

2.65
#A4A171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A4A171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A171
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A171#FFFFFF#000000##000000
##A4A1711.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99D6E
Deuteranopia (green-blind)
#ABA073
Tritanopia (blue-blind)
#AB9B95
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a4a171;
/* rgb */ color: rgb(164, 161, 113);
/* oklch */ color: oklch(70.0% 0.066 104.9);
Tailwind
colors: {
  custom: {
    50: '#bfbc9a',
    500: '#a4a171',
    950: '#000000',
  },
}
SCSS
$custom: #a4a171;
$custom-light: #bfbc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a171",
  "rgb": {
    "r": 164,
    "g": 161,
    "b": 113
  },
  "hsl": {
    "h": 56.471,
    "s": 21.888,
    "l": 54.314
  },
  "oklch": {
    "l": 0.69954,
    "c": 0.06573,
    "h": 104.9
  },
  "luminance": 0.34575
}

Semantic roles & 50–950 ramp

primary
#A4A171
secondary
#AEAFC3
accent
#6EBE69
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A4A171

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

Preview Lab → · Contrast checker → · Palette generator →

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