#A8A877#A8A877

#A8A877 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.067 H 108.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#A8A877
RGBrgb(168, 168, 119)
HSLhsl(60, 22%, 56%)
HSVhsv(60, 29%, 66%)
CMYKcmyk(0%, 0%, 29.2%, 34.1%)
CIE-LABlab(67.77, -7.96, 25.40)
CIE-LCHlch(67.77, 26.62, 107.40°)
OKLaboklab(71.94% -0.0206 0.0635)
OKLCHoklch(71.94% 0.067 108)
XYZxyz(33.4810, 37.6625, 22.9550)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A877 #7777A8
analogous
#A89077 #A8A877 #90A877
triadic
#A8A877 #77A8A8 #A877A8
tetradic
#A8A877 #77A890 #7777A8 #A87790
square
#A8A877 #77A890 #7777A8 #A87790
split-complementary
#A8A877 #7790A8 #9077A8
monochromatic
#646440 #8A8A58 #A8A877 #C0C09C #D8D8C2

Accessibility & contrast

On white

2.46
#A8A877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#A8A877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A877
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A877#FFFFFF#000000##000000
##A8A8771.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A474
Deuteranopia (green-blind)
#B1A679
Tritanopia (blue-blind)
#AFA29B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8a877;
/* rgb */ color: rgb(168, 168, 119);
/* oklch */ color: oklch(71.9% 0.067 108.0);
Tailwind
colors: {
  custom: {
    50: '#c2c19e',
    500: '#a8a877',
    950: '#000000',
  },
}
SCSS
$custom: #a8a877;
$custom-light: #c2c19e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a877",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 119
  },
  "hsl": {
    "h": 60,
    "s": 21.973,
    "l": 56.275
  },
  "oklch": {
    "l": 0.71935,
    "c": 0.06679,
    "h": 108
  },
  "luminance": 0.37662
}

Semantic roles & 50–950 ramp

primary
#A8A877
secondary
#B3B3C7
accent
#69BE69
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A877

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

Preview Lab → · Contrast checker → · Palette generator →

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