#A8A186#A8A186

#A8A186 is a light, muted yellow. Relative luminance 0.355; OKLCH L 70.8% C 0.039 H 95.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A8A186
RGBrgb(168, 161, 134)
HSLhsl(48, 16%, 59%)
HSVhsv(48, 20%, 66%)
CMYKcmyk(0%, 4.2%, 20.2%, 34.1%)
CIE-LABlab(66.16, -2.04, 15.00)
CIE-LCHlch(66.16, 15.13, 97.74°)
OKLaboklab(70.76% -0.0035 0.0385)
OKLCHoklch(70.76% 0.039 95.2)
XYZxyz(33.1963, 35.5364, 27.6601)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A186 #868DA8
analogous
#A89086 #A8A186 #9EA886
triadic
#A8A186 #86A8A1 #A186A8
tetradic
#A8A186 #86A890 #868DA8 #A8869E
square
#A8A186 #86A890 #868DA8 #A8869E
split-complementary
#A8A186 #869EA8 #9086A8
monochromatic
#68624B #8C8465 #A8A186 #C2BDAA #DBD8CD

Accessibility & contrast

On white

2.59
#A8A186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A8A186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A186
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A186#FFFFFF#000000##000000
##A8A1861.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79F84
Deuteranopia (green-blind)
#A9A287
Tritanopia (blue-blind)
#AE9D99
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a186;
/* rgb */ color: rgb(168, 161, 134);
/* oklch */ color: oklch(70.8% 0.039 95.2);
Tailwind
colors: {
  custom: {
    50: '#c2bca9',
    500: '#a8a186',
    950: '#000000',
  },
}
SCSS
$custom: #a8a186;
$custom-light: #c2bca9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a186",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 134
  },
  "hsl": {
    "h": 47.647,
    "s": 16.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.03865,
    "h": 95.2
  },
  "luminance": 0.35536
}

Semantic roles & 50–950 ramp

primary
#A8A186
secondary
#BEC1CC
accent
#7EB96F
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A8A186

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

Preview Lab → · Contrast checker → · Palette generator →

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