#A8A477#A8A477

#A8A477 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.062 H 103.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A8A477
RGBrgb(168, 164, 119)
HSLhsl(55, 22%, 56%)
HSVhsv(55, 29%, 66%)
CMYKcmyk(0%, 2.4%, 29.2%, 34.1%)
CIE-LABlab(66.68, -5.83, 23.94)
CIE-LCHlch(66.68, 24.64, 103.68°)
OKLaboklab(71.07% -0.0145 0.0601)
OKLCHoklch(71.07% 0.062 103.6)
XYZxyz(32.7539, 36.2083, 22.7127)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A477 #777BA8
analogous
#A88C77 #A8A477 #94A877
triadic
#A8A477 #77A8A4 #A477A8
tetradic
#A8A477 #77A88C #777BA8 #A87794
square
#A8A477 #77A88C #777BA8 #A87794
split-complementary
#A8A477 #7794A8 #8C77A8
monochromatic
#646140 #8A8658 #A8A477 #C0BD9C #D8D6C2

Accessibility & contrast

On white

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

On black

8.24
#A8A477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A477
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A477#FFFFFF#000000##000000
##A8A4771.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA174
Deuteranopia (green-blind)
#AEA379
Tritanopia (blue-blind)
#AF9E98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a477;
/* rgb */ color: rgb(168, 164, 119);
/* oklch */ color: oklch(71.1% 0.062 103.6);
Tailwind
colors: {
  custom: {
    50: '#c2be9e',
    500: '#a8a477',
    950: '#000000',
  },
}
SCSS
$custom: #a8a477;
$custom-light: #c2be9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a477",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 119
  },
  "hsl": {
    "h": 55.102,
    "s": 21.973,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7107,
    "c": 0.06177,
    "h": 103.6
  },
  "luminance": 0.36208
}

Semantic roles & 50–950 ramp

primary
#A8A477
secondary
#B3B5C7
accent
#70BE69
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A477

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

Preview Lab → · Contrast checker → · Palette generator →

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