#A6A88E#A6A88E

#A6A88E is a light, muted yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.036 H 110.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#A6A88E
RGBrgb(166, 168, 142)
HSLhsl(65, 13%, 61%)
HSVhsv(65, 15%, 66%)
CMYKcmyk(1.2%, 0%, 15.5%, 34.1%)
CIE-LABlab(68.07, -5.32, 13.22)
CIE-LCHlch(68.07, 14.25, 111.91°)
OKLaboklab(72.28% -0.013 0.0341)
OKLCHoklch(72.28% 0.036 110.9)
XYZxyz(34.6105, 38.0655, 31.1100)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A88E #908EA8
analogous
#A89D8E #A6A88E #99A88E
triadic
#A6A88E #8EA6A8 #A88EA6
tetradic
#A6A88E #8EA89D #908EA8 #A88E99
square
#A6A88E #8EA89D #908EA8 #A88E99
split-complementary
#A6A88E #8E99A8 #9D8EA8
monochromatic
#686A52 #8A8D6C #A6A88E #C1C3B1 #DCDDD3

Accessibility & contrast

On white

2.44
#A6A88E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#A6A88E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A88E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A88E#FFFFFF#000000##000000
##A6A88E1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA58C
Deuteranopia (green-blind)
#ADA68F
Tritanopia (blue-blind)
#AAA5A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6a88e;
/* rgb */ color: rgb(166, 168, 142);
/* oklch */ color: oklch(72.3% 0.036 110.9);
Tailwind
colors: {
  custom: {
    50: '#c0c1af',
    500: '#a6a88e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a88e;
$custom-light: #c0c1af;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a88e",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 142
  },
  "hsl": {
    "h": 64.615,
    "s": 13,
    "l": 60.784
  },
  "oklch": {
    "l": 0.72282,
    "c": 0.03648,
    "h": 110.9
  },
  "luminance": 0.38065
}

Semantic roles & 50–950 ramp

primary
#A6A88E
secondary
#C5C4CE
accent
#4E9754
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A6A88E

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

Preview Lab → · Contrast checker → · Palette generator →

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