#A5A771#A5A771

#A5A771 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.073 H 109.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A5A771
RGBrgb(165, 167, 113)
HSLhsl(62, 23%, 55%)
HSVhsv(62, 32%, 65%)
CMYKcmyk(1.2%, 0%, 32.3%, 34.5%)
CIE-LABlab(67.15, -9.42, 27.76)
CIE-LCHlch(67.15, 29.31, 108.75°)
OKLaboklab(71.35% -0.025 0.0689)
OKLCHoklch(71.35% 0.073 109.9)
XYZxyz(32.3166, 36.8295, 21.0260)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A771 #7371A7
analogous
#A78E71 #A5A771 #8AA771
triadic
#A5A771 #71A5A7 #A771A5
tetradic
#A5A771 #71A78E #7371A7 #A7718A
square
#A5A771 #71A78E #7371A7 #A7718A
split-complementary
#A5A771 #718AA7 #8E71A7
monochromatic
#60613C #858754 #A5A771 #BDBE97 #D5D6BD

Accessibility & contrast

On white

2.51
#A5A771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A5A771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A771
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A771#FFFFFF#000000##000000
##A5A7711.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA26D
Deuteranopia (green-blind)
#B0A473
Tritanopia (blue-blind)
#ACA199
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a771;
/* rgb */ color: rgb(165, 167, 113);
/* oklch */ color: oklch(71.3% 0.073 109.9);
Tailwind
colors: {
  custom: {
    50: '#c0c19a',
    500: '#a5a771',
    950: '#000000',
  },
}
SCSS
$custom: #a5a771;
$custom-light: #c0c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a771",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 113
  },
  "hsl": {
    "h": 62.222,
    "s": 23.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.71348,
    "c": 0.07332,
    "h": 109.9
  },
  "luminance": 0.36829
}

Semantic roles & 50–950 ramp

primary
#A5A771
secondary
#AFAFC5
accent
#68C06B
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A771

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

Preview Lab → · Contrast checker → · Palette generator →

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