#A5A565#A5A565

#A5A565 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.085 H 108.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A5A565
RGBrgb(165, 165, 101)
HSLhsl(60, 26%, 52%)
HSVhsv(60, 39%, 65%)
CMYKcmyk(0%, 0%, 38.8%, 35.3%)
CIE-LABlab(66.41, -9.83, 33.17)
CIE-LCHlch(66.41, 34.60, 106.51°)
OKLaboklab(70.69% -0.0269 0.081)
OKLCHoklch(70.69% 0.085 108.4)
XYZxyz(31.3216, 35.8498, 17.5791)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A565 #6565A5
analogous
#A58565 #A5A565 #85A565
triadic
#A5A565 #65A5A5 #A565A5
tetradic
#A5A565 #65A585 #6565A5 #A56585
square
#A5A565 #65A585 #6565A5 #A56585
split-complementary
#A5A565 #6585A5 #8565A5
monochromatic
#5B5B35 #81814C #A5A565 #BCBC8C #D2D2B2

Accessibility & contrast

On white

2.57
#A5A565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A5A565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A565
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A565#FFFFFF#000000##000000
##A5A5651.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA060
Deuteranopia (green-blind)
#B0A368
Tritanopia (blue-blind)
#AD9E95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a565;
/* rgb */ color: rgb(165, 165, 101);
/* oklch */ color: oklch(70.7% 0.085 108.4);
Tailwind
colors: {
  custom: {
    50: '#c1bf92',
    500: '#a5a565',
    950: '#000000',
  },
}
SCSS
$custom: #a5a565;
$custom-light: #c1bf92;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a565",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 101
  },
  "hsl": {
    "h": 60,
    "s": 26.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70694,
    "c": 0.08533,
    "h": 108.4
  },
  "luminance": 0.35849
}

Semantic roles & 50–950 ramp

primary
#A5A565
secondary
#A5A5C1
accent
#65C365
background
#FBFBF9
surface
#F7F7F1
border
#D0D0CB
text
#12120D
muted
#81817E

Preview Lab

Preview with #A5A565

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

Preview Lab → · Contrast checker → · Palette generator →

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