#A8A771#A8A771

#A8A771 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.073 H 107.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A8A771
RGBrgb(168, 167, 113)
HSLhsl(59, 24%, 55%)
HSVhsv(59, 33%, 66%)
CMYKcmyk(0%, 0.6%, 32.7%, 34.1%)
CIE-LABlab(67.39, -8.22, 28.13)
CIE-LCHlch(67.39, 29.30, 106.28°)
OKLaboklab(71.6% -0.0216 0.0698)
OKLCHoklch(71.6% 0.073 107.2)
XYZxyz(32.9481, 37.1551, 21.0556)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A771 #7172A8
analogous
#A88B71 #A8A771 #8DA871
triadic
#A8A771 #71A8A7 #A771A8
tetradic
#A8A771 #71A88B #7172A8 #A8718D
square
#A8A771 #71A88B #7172A8 #A8718D
split-complementary
#A8A771 #718DA8 #8B71A8
monochromatic
#62623C #888754 #A8A771 #BFBF97 #D7D6BD

Accessibility & contrast

On white

2.49
#A8A771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A8A771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A771
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A771#FFFFFF#000000##000000
##A8A7711.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36D
Deuteranopia (green-blind)
#B1A573
Tritanopia (blue-blind)
#B0A099
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a771;
/* rgb */ color: rgb(168, 167, 113);
/* oklch */ color: oklch(71.6% 0.073 107.2);
Tailwind
colors: {
  custom: {
    50: '#c2c19a',
    500: '#a8a771',
    950: '#000000',
  },
}
SCSS
$custom: #a8a771;
$custom-light: #c2c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a771",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 113
  },
  "hsl": {
    "h": 58.909,
    "s": 24.017,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71602,
    "c": 0.07305,
    "h": 107.2
  },
  "luminance": 0.37155
}

Semantic roles & 50–950 ramp

primary
#A8A771
secondary
#AFAFC6
accent
#69C067
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A771

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

Preview Lab → · Contrast checker → · Palette generator →

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