#A4A871#A4A871

#A4A871 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.075 H 111.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A4A871
RGBrgb(164, 168, 113)
HSLhsl(64, 24%, 55%)
HSVhsv(64, 33%, 66%)
CMYKcmyk(2.4%, 0%, 32.7%, 34.1%)
CIE-LABlab(67.34, -10.35, 28.00)
CIE-LCHlch(67.34, 29.85, 110.29°)
OKLaboklab(71.48% -0.0276 0.0695)
OKLCHoklch(71.48% 0.075 111.7)
XYZxyz(32.2932, 37.0905, 21.0776)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A871 #7571A8
analogous
#A89171 #A4A871 #88A871
triadic
#A4A871 #71A4A8 #A871A4
tetradic
#A4A871 #71A891 #7571A8 #A87188
square
#A4A871 #71A891 #7571A8 #A87188
split-complementary
#A4A871 #7188A8 #9171A8
monochromatic
#60623C #848854 #A4A871 #BCBF97 #D5D7BD

Accessibility & contrast

On white

2.49
#A4A871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A4A871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A871
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A871#FFFFFF#000000##000000
##A4A8711.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36D
Deuteranopia (green-blind)
#B0A573
Tritanopia (blue-blind)
#ABA29A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a4a871;
/* rgb */ color: rgb(164, 168, 113);
/* oklch */ color: oklch(71.5% 0.075 111.7);
Tailwind
colors: {
  custom: {
    50: '#bfc19a',
    500: '#a4a871',
    950: '#000000',
  },
}
SCSS
$custom: #a4a871;
$custom-light: #bfc19a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a871",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 113
  },
  "hsl": {
    "h": 64.364,
    "s": 24.017,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71484,
    "c": 0.07479,
    "h": 111.7
  },
  "luminance": 0.3709
}

Semantic roles & 50–950 ramp

primary
#A4A871
secondary
#B1AFC6
accent
#67C06E
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A4A871

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

Preview Lab → · Contrast checker → · Palette generator →

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