#A5A86A#A5A86A

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

Color values

HEX#A5A86A
RGBrgb(165, 168, 106)
HSLhsl(63, 26%, 54%)
HSVhsv(63, 37%, 66%)
CMYKcmyk(1.8%, 0%, 36.9%, 34.1%)
CIE-LABlab(67.31, -10.83, 31.70)
CIE-LCHlch(67.31, 33.50, 108.86°)
OKLaboklab(71.44% -0.0294 0.0778)
OKLCHoklch(71.44% 0.083 110.7)
XYZxyz(32.1215, 37.0457, 19.0913)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A86A #6D6AA8
analogous
#A88C6A #A5A86A #86A86A
triadic
#A5A86A #6AA5A8 #A86AA5
tetradic
#A5A86A #6AA88C #6D6AA8 #A86A86
square
#A5A86A #6AA88C #6D6AA8 #A86A86
split-complementary
#A5A86A #6A86A8 #8C6AA8
monochromatic
#5E6038 #84864E #A5A86A #BCBF91 #D4D5B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A86A#FFFFFF#000000##000000
##A5A86A1.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)
#B1A365
Deuteranopia (green-blind)
#B1A56D
Tritanopia (blue-blind)
#ADA199
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5a86a;
/* rgb */ color: rgb(165, 168, 106);
/* oklch */ color: oklch(71.4% 0.083 110.7);
Tailwind
colors: {
  custom: {
    50: '#c0c195',
    500: '#a5a86a',
    950: '#000000',
  },
}
SCSS
$custom: #a5a86a;
$custom-light: #c0c195;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a86a",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 106
  },
  "hsl": {
    "h": 62.903,
    "s": 26.271,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7144,
    "c": 0.08319,
    "h": 110.7
  },
  "luminance": 0.37045
}

Semantic roles & 50–950 ramp

primary
#A5A86A
secondary
#ABAAC4
accent
#65C36A
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A86A

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

Preview Lab → · Contrast checker → · Palette generator →

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