#A5A56A#A5A56A

#A5A56A is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.079 H 108.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A5A56A
RGBrgb(165, 165, 106)
HSLhsl(60, 25%, 53%)
HSVhsv(60, 36%, 65%)
CMYKcmyk(0%, 0%, 35.8%, 35.3%)
CIE-LABlab(66.48, -9.24, 30.63)
CIE-LCHlch(66.48, 31.99, 106.79°)
OKLaboklab(70.78% -0.0249 0.0754)
OKLCHoklch(70.78% 0.079 108.3)
XYZxyz(31.5740, 35.9508, 18.9088)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A56A #6A6AA5
analogous
#A5876A #A5A56A #87A56A
triadic
#A5A56A #6AA5A5 #A56AA5
tetradic
#A5A56A #6AA587 #6A6AA5 #A56A87
square
#A5A56A #6AA587 #6A6AA5 #A56A87
split-complementary
#A5A56A #6A87A5 #876AA5
monochromatic
#5D5D38 #83834F #A5A56A #BCBC90 #D3D3B6

Accessibility & contrast

On white

2.56
#A5A56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A5A56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A56A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A56A#FFFFFF#000000##000000
##A5A56A1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA066
Deuteranopia (green-blind)
#AFA36C
Tritanopia (blue-blind)
#AD9E96
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a56a;
/* rgb */ color: rgb(165, 165, 106);
/* oklch */ color: oklch(70.8% 0.079 108.3);
Tailwind
colors: {
  custom: {
    50: '#c0bf95',
    500: '#a5a56a',
    950: '#000000',
  },
}
SCSS
$custom: #a5a56a;
$custom-light: #c0bf95;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a56a",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 106
  },
  "hsl": {
    "h": 60,
    "s": 24.686,
    "l": 53.137
  },
  "oklch": {
    "l": 0.70781,
    "c": 0.07936,
    "h": 108.3
  },
  "luminance": 0.3595
}

Semantic roles & 50–950 ramp

primary
#A5A56A
secondary
#A9A9C2
accent
#67C167
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A56A

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

Preview Lab → · Contrast checker → · Palette generator →

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