#A5A86C#A5A86C

#A5A86C is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.081 H 110.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A5A86C
RGBrgb(165, 168, 108)
HSLhsl(63, 26%, 54%)
HSVhsv(63, 36%, 66%)
CMYKcmyk(1.8%, 0%, 35.7%, 34.1%)
CIE-LABlab(67.34, -10.58, 30.68)
CIE-LCHlch(67.34, 32.45, 109.03°)
OKLaboklab(71.47% -0.0286 0.0756)
OKLCHoklch(71.47% 0.081 110.7)
XYZxyz(32.2267, 37.0878, 19.6454)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A86C #6F6CA8
analogous
#A88D6C #A5A86C #87A86C
triadic
#A5A86C #6CA5A8 #A86CA5
tetradic
#A5A86C #6CA88D #6F6CA8 #A86C87
square
#A5A86C #6CA88D #6F6CA8 #A86C87
split-complementary
#A5A86C #6C87A8 #8D6CA8
monochromatic
#5F6039 #848750 #A5A86C #BDBF92 #D4D6B9

Accessibility & contrast

On white

2.49
#A5A86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A5A86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A86C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A86C#FFFFFF#000000##000000
##A5A86C1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A368
Deuteranopia (green-blind)
#B1A56F
Tritanopia (blue-blind)
#ADA199
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5a86c;
/* rgb */ color: rgb(165, 168, 108);
/* oklch */ color: oklch(71.5% 0.081 110.7);
Tailwind
colors: {
  custom: {
    50: '#c0c197',
    500: '#a5a86c',
    950: '#000000',
  },
}
SCSS
$custom: #a5a86c;
$custom-light: #c0c197;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a86c",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 108
  },
  "hsl": {
    "h": 63,
    "s": 25.641,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.08078,
    "h": 110.7
  },
  "luminance": 0.37087
}

Semantic roles & 50–950 ramp

primary
#A5A86C
secondary
#ACABC5
accent
#66C26A
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A86C

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

Preview Lab → · Contrast checker → · Palette generator →

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