#A8A778#A8A778

#A8A778 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.064 H 106.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A8A778
RGBrgb(168, 167, 120)
HSLhsl(59, 22%, 56%)
HSVhsv(59, 29%, 66%)
CMYKcmyk(0%, 0.6%, 28.6%, 34.1%)
CIE-LABlab(67.52, -7.30, 24.52)
CIE-LCHlch(67.52, 25.58, 106.57°)
OKLaboklab(71.74% -0.0187 0.0615)
OKLCHoklch(71.74% 0.064 106.9)
XYZxyz(33.3574, 37.3189, 23.2117)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A778 #7879A8
analogous
#A88F78 #A8A778 #91A878
triadic
#A8A778 #78A8A7 #A778A8
tetradic
#A8A778 #78A88F #7879A8 #A87891
square
#A8A778 #78A88F #7879A8 #A87891
split-complementary
#A8A778 #7891A8 #8F78A8
monochromatic
#656441 #8A8959 #A8A778 #C0BF9D #D8D8C2

Accessibility & contrast

On white

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

On black

8.46
#A8A778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A778
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A778#FFFFFF#000000##000000
##A8A7781.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a778;
/* rgb */ color: rgb(168, 167, 120);
/* oklch */ color: oklch(71.7% 0.064 106.9);
Tailwind
colors: {
  custom: {
    50: '#c2c19f',
    500: '#a8a778',
    950: '#000000',
  },
}
SCSS
$custom: #a8a778;
$custom-light: #c2c19f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a778",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 120
  },
  "hsl": {
    "h": 58.75,
    "s": 21.622,
    "l": 56.471
  },
  "oklch": {
    "l": 0.71739,
    "c": 0.06422,
    "h": 106.9
  },
  "luminance": 0.37318
}

Semantic roles & 50–950 ramp

primary
#A8A778
secondary
#B4B4C8
accent
#6BBE6A
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A778

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

Preview Lab → · Contrast checker → · Palette generator →

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