#A4A87F#A4A87F

#A4A87F is a light, muted yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.057 H 112.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#A4A87F
RGBrgb(164, 168, 127)
HSLhsl(66, 19%, 58%)
HSVhsv(66, 24%, 66%)
CMYKcmyk(2.4%, 0%, 24.4%, 34.1%)
CIE-LABlab(67.60, -8.41, 20.77)
CIE-LCHlch(67.60, 22.41, 112.04°)
OKLaboklab(71.77% -0.0216 0.0526)
OKLCHoklch(71.77% 0.057 112.4)
XYZxyz(33.1431, 37.4304, 25.5534)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A87F #837FA8
analogous
#A8977F #A4A87F #8FA87F
triadic
#A4A87F #7FA4A8 #A87FA4
tetradic
#A4A87F #7FA897 #837FA8 #A87F8F
square
#A4A87F #7FA897 #837FA8 #A87F8F
split-complementary
#A4A87F #7F8FA8 #977FA8
monochromatic
#646746 #878B5F #A4A87F #BEC1A3 #D8DAC8

Accessibility & contrast

On white

2.47
#A4A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#A4A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A87F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A87F#FFFFFF#000000##000000
##A4A87F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47C
Deuteranopia (green-blind)
#AEA581
Tritanopia (blue-blind)
#A9A39D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a4a87f;
/* rgb */ color: rgb(164, 168, 127);
/* oklch */ color: oklch(71.8% 0.057 112.4);
Tailwind
colors: {
  custom: {
    50: '#bfc1a4',
    500: '#a4a87f',
    950: '#000000',
  },
}
SCSS
$custom: #a4a87f;
$custom-light: #bfc1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a87f",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 65.854,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.71769,
    "c": 0.05686,
    "h": 112.4
  },
  "luminance": 0.3743
}

Semantic roles & 50–950 ramp

primary
#A4A87F
secondary
#BBB9CA
accent
#6CBC74
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A4A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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