#A5A86B#A5A86B

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

Color values

HEX#A5A86B
RGBrgb(165, 168, 107)
HSLhsl(63, 26%, 54%)
HSVhsv(63, 36%, 66%)
CMYKcmyk(1.8%, 0%, 36.3%, 34.1%)
CIE-LABlab(67.33, -10.70, 31.19)
CIE-LCHlch(67.33, 32.98, 108.94°)
OKLaboklab(71.46% -0.029 0.0767)
OKLCHoklch(71.46% 0.082 110.7)
XYZxyz(32.1738, 37.0666, 19.3668)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A86B #6E6BA8
analogous
#A88D6B #A5A86B #87A86B
triadic
#A5A86B #6BA5A8 #A86BA5
tetradic
#A5A86B #6BA88D #6E6BA8 #A86B87
square
#A5A86B #6BA88D #6E6BA8 #A86B87
split-complementary
#A5A86B #6B87A8 #8D6BA8
monochromatic
#5E6038 #84874F #A5A86B #BCBF92 #D4D5B8

Accessibility & contrast

On white

2.50
#A5A86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#A5A86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A86B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A86B#FFFFFF#000000##000000
##A5A86B1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a86b;
/* rgb */ color: rgb(165, 168, 107);
/* oklch */ color: oklch(71.5% 0.082 110.7);
Tailwind
colors: {
  custom: {
    50: '#c0c196',
    500: '#a5a86b',
    950: '#000000',
  },
}
SCSS
$custom: #a5a86b;
$custom-light: #c0c196;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a86b",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 107
  },
  "hsl": {
    "h": 62.951,
    "s": 25.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71457,
    "c": 0.082,
    "h": 110.7
  },
  "luminance": 0.37066
}

Semantic roles & 50–950 ramp

primary
#A5A86B
secondary
#ACAAC4
accent
#65C26A
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A86B

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

Preview Lab → · Contrast checker → · Palette generator →

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