#A7A87F#A7A87F

#A7A87F is a light, muted yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.057 H 108.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#A7A87F
RGBrgb(167, 168, 127)
HSLhsl(61, 19%, 58%)
HSVhsv(61, 24%, 66%)
CMYKcmyk(0.6%, 0%, 24.4%, 34.1%)
CIE-LABlab(67.84, -7.24, 21.14)
CIE-LCHlch(67.84, 22.34, 108.91°)
OKLaboklab(72.02% -0.0183 0.0535)
OKLCHoklch(72.02% 0.057 108.9)
XYZxyz(33.7697, 37.7535, 25.5827)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A87F #807FA8
analogous
#A8947F #A7A87F #92A87F
triadic
#A7A87F #7FA7A8 #A87FA7
tetradic
#A7A87F #7FA894 #807FA8 #A87F92
square
#A7A87F #7FA894 #807FA8 #A87F92
split-complementary
#A7A87F #7F92A8 #947FA8
monochromatic
#666746 #8A8B5F #A7A87F #C0C1A3 #D9DAC8

Accessibility & contrast

On white

2.46
#A7A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#A7A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A87F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A87F#FFFFFF#000000##000000
##A7A87F1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA47C
Deuteranopia (green-blind)
#AFA681
Tritanopia (blue-blind)
#ADA39D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7a87f;
/* rgb */ color: rgb(167, 168, 127);
/* oklch */ color: oklch(72.0% 0.057 108.9);
Tailwind
colors: {
  custom: {
    50: '#c1c1a4',
    500: '#a7a87f',
    950: '#000000',
  },
}
SCSS
$custom: #a7a87f;
$custom-light: #c1c1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a87f",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 61.463,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.72018,
    "c": 0.05652,
    "h": 108.9
  },
  "luminance": 0.37753
}

Semantic roles & 50–950 ramp

primary
#A7A87F
secondary
#BAB9CA
accent
#6CBC6E
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A7A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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