#A5A571#A5A571

#A5A571 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.071 H 108.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A5A571
RGBrgb(165, 165, 113)
HSLhsl(60, 22%, 55%)
HSVhsv(60, 32%, 65%)
CMYKcmyk(0%, 0%, 31.5%, 35.3%)
CIE-LABlab(66.60, -8.36, 27.03)
CIE-LCHlch(66.60, 28.30, 107.19°)
OKLaboklab(70.91% -0.0219 0.0672)
OKLCHoklch(70.91% 0.071 108.1)
XYZxyz(31.9530, 36.1024, 20.9048)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A571 #7171A5
analogous
#A58B71 #A5A571 #8BA571
triadic
#A5A571 #71A5A5 #A571A5
tetradic
#A5A571 #71A58B #7171A5 #A5718B
square
#A5A571 #71A58B #7171A5 #A5718B
split-complementary
#A5A571 #718BA5 #8B71A5
monochromatic
#5F5F3C #858554 #A5A571 #BDBD96 #D4D4BC

Accessibility & contrast

On white

2.55
#A5A571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A5A571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A571
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A571#FFFFFF#000000##000000
##A5A5711.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA16D
Deuteranopia (green-blind)
#AEA373
Tritanopia (blue-blind)
#AC9F98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a571;
/* rgb */ color: rgb(165, 165, 113);
/* oklch */ color: oklch(70.9% 0.071 108.1);
Tailwind
colors: {
  custom: {
    50: '#c0bf9a',
    500: '#a5a571',
    950: '#000000',
  },
}
SCSS
$custom: #a5a571;
$custom-light: #c0bf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a571",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 22.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.70911,
    "c": 0.07072,
    "h": 108.1
  },
  "luminance": 0.36102
}

Semantic roles & 50–950 ramp

primary
#A5A571
secondary
#AEAEC4
accent
#69BF69
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A571

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

Preview Lab → · Contrast checker → · Palette generator →

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