#A5A786#A5A786

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

Color values

HEX#A5A786
RGBrgb(165, 167, 134)
HSLhsl(64, 16%, 59%)
HSVhsv(64, 20%, 65%)
CMYKcmyk(1.2%, 0%, 19.8%, 34.5%)
CIE-LABlab(67.55, -6.43, 16.88)
CIE-LCHlch(67.55, 18.06, 110.87°)
OKLaboklab(71.79% -0.016 0.0431)
OKLCHoklch(71.79% 0.046 110.4)
XYZxyz(33.6386, 37.3583, 27.9884)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A786 #8886A7
analogous
#A79986 #A5A786 #95A786
triadic
#A5A786 #86A5A7 #A786A5
tetradic
#A5A786 #86A799 #8886A7 #A78695
square
#A5A786 #86A799 #8886A7 #A78695
split-complementary
#A5A786 #8695A7 #9986A7
monochromatic
#66674B #898B65 #A5A786 #BFC1A9 #DADBCD

Accessibility & contrast

On white

2.48
#A5A786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A5A786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A786
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A786#FFFFFF#000000##000000
##A5A7861.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA484
Deuteranopia (green-blind)
#ADA587
Tritanopia (blue-blind)
#AAA39E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5a786;
/* rgb */ color: rgb(165, 167, 134);
/* oklch */ color: oklch(71.8% 0.046 110.4);
Tailwind
colors: {
  custom: {
    50: '#c0c1a9',
    500: '#a5a786',
    950: '#000000',
  },
}
SCSS
$custom: #a5a786;
$custom-light: #c0c1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a786",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 134
  },
  "hsl": {
    "h": 63.636,
    "s": 15.789,
    "l": 59.02
  },
  "oklch": {
    "l": 0.71792,
    "c": 0.04601,
    "h": 110.4
  },
  "luminance": 0.37358
}

Semantic roles & 50–950 ramp

primary
#A5A786
secondary
#BFBECB
accent
#6FB974
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A5A786

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

Preview Lab → · Contrast checker → · Palette generator →

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