#A8A77A#A8A77A

#A8A77A is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.062 H 106.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A8A77A
RGBrgb(168, 167, 122)
HSLhsl(59, 21%, 57%)
HSVhsv(59, 27%, 66%)
CMYKcmyk(0%, 0.6%, 27.4%, 34.1%)
CIE-LABlab(67.55, -7.02, 23.48)
CIE-LCHlch(67.55, 24.51, 106.65°)
OKLaboklab(71.78% -0.0178 0.059)
OKLCHoklch(71.78% 0.062 106.8)
XYZxyz(33.4801, 37.3679, 23.8576)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A77A #7A7BA8
analogous
#A8907A #A8A77A #92A87A
triadic
#A8A77A #7AA8A7 #A77AA8
tetradic
#A8A77A #7AA890 #7A7BA8 #A87A92
square
#A8A77A #7AA890 #7A7BA8 #A87A92
split-complementary
#A8A77A #7A92A8 #907AA8
monochromatic
#656542 #8A895A #A8A77A #C0BF9F #D8D8C4

Accessibility & contrast

On white

2.48
#A8A77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A8A77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A77A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A77A#FFFFFF#000000##000000
##A8A77A1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA377
Deuteranopia (green-blind)
#B0A57C
Tritanopia (blue-blind)
#AFA19B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a77a;
/* rgb */ color: rgb(168, 167, 122);
/* oklch */ color: oklch(71.8% 0.062 106.8);
Tailwind
colors: {
  custom: {
    50: '#c2c1a0',
    500: '#a8a77a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a77a;
$custom-light: #c2c1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a77a",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 122
  },
  "hsl": {
    "h": 58.696,
    "s": 20.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.06166,
    "h": 106.8
  },
  "luminance": 0.37367
}

Semantic roles & 50–950 ramp

primary
#A8A77A
secondary
#B6B6C8
accent
#6CBD6A
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120F
muted
#81817E

Preview Lab

Preview with #A8A77A

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

Preview Lab → · Contrast checker → · Palette generator →

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