#A6A487#A6A487

#A6A487 is a light, muted yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.041 H 104.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#A6A487
RGBrgb(166, 164, 135)
HSLhsl(56, 15%, 59%)
HSVhsv(56, 19%, 65%)
CMYKcmyk(0%, 1.2%, 18.7%, 34.9%)
CIE-LABlab(66.83, -4.28, 15.35)
CIE-LCHlch(66.83, 15.93, 105.59°)
OKLaboklab(71.25% -0.0099 0.0394)
OKLCHoklch(71.25% 0.041 104.1)
XYZxyz(33.3743, 36.4076, 28.1862)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A487 #8789A6
analogous
#A69587 #A6A487 #99A687
triadic
#A6A487 #87A6A4 #A487A6
tetradic
#A6A487 #87A695 #8789A6 #A68799
square
#A6A487 #87A695 #8789A6 #A68799
split-complementary
#A6A487 #8799A6 #9587A6
monochromatic
#67654C #8A8766 #A6A487 #C0BFAA #DAD9CD

Accessibility & contrast

On white

2.54
#A6A487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#A6A487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A487
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A487#FFFFFF#000000##000000
##A6A4871.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A285
Deuteranopia (green-blind)
#AAA388
Tritanopia (blue-blind)
#ABA09C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a487;
/* rgb */ color: rgb(166, 164, 135);
/* oklch */ color: oklch(71.3% 0.041 104.1);
Tailwind
colors: {
  custom: {
    50: '#c0beaa',
    500: '#a6a487',
    950: '#000000',
  },
}
SCSS
$custom: #a6a487;
$custom-light: #c0beaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a487",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 135
  },
  "hsl": {
    "h": 56.129,
    "s": 14.833,
    "l": 59.02
  },
  "oklch": {
    "l": 0.71253,
    "c": 0.04059,
    "h": 104.1
  },
  "luminance": 0.36407
}

Semantic roles & 50–950 ramp

primary
#A6A487
secondary
#BEBFCA
accent
#75B870
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A6A487

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

Preview Lab → · Contrast checker → · Palette generator →

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