#A5A66A#A5A66A

#A5A66A is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.081 H 109.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#A5A66A
RGBrgb(165, 166, 106)
HSLhsl(61, 25%, 53%)
HSVhsv(61, 36%, 65%)
CMYKcmyk(0.6%, 0%, 36.1%, 34.9%)
CIE-LABlab(66.76, -9.77, 30.99)
CIE-LCHlch(66.76, 32.49, 107.50°)
OKLaboklab(71% -0.0264 0.0762)
OKLCHoklch(71% 0.081 109.1)
XYZxyz(31.7551, 36.3129, 18.9692)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A66A #6B6AA6
analogous
#A6896A #A5A66A #87A66A
triadic
#A5A66A #6AA5A6 #A66AA5
tetradic
#A5A66A #6AA689 #6B6AA6 #A66A87
square
#A5A66A #6AA689 #6B6AA6 #A66A87
split-complementary
#A5A66A #6A87A6 #896AA6
monochromatic
#5D5E38 #83844F #A5A66A #BCBD90 #D3D4B7

Accessibility & contrast

On white

2.54
#A5A66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#A5A66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A66A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A66A#FFFFFF#000000##000000
##A5A66A1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA166
Deuteranopia (green-blind)
#B0A36D
Tritanopia (blue-blind)
#AD9F97
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a66a;
/* rgb */ color: rgb(165, 166, 106);
/* oklch */ color: oklch(71.0% 0.081 109.1);
Tailwind
colors: {
  custom: {
    50: '#c0c095',
    500: '#a5a66a',
    950: '#000000',
  },
}
SCSS
$custom: #a5a66a;
$custom-light: #c0c095;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a66a",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 106
  },
  "hsl": {
    "h": 61,
    "s": 25.21,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71,
    "c": 0.08062,
    "h": 109.1
  },
  "luminance": 0.36312
}

Semantic roles & 50–950 ramp

primary
#A5A66A
secondary
#A9A9C3
accent
#66C268
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A66A

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

Preview Lab → · Contrast checker → · Palette generator →

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