#A8A978#A8A978

#A8A978 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.067 H 108.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#A8A978
RGBrgb(168, 169, 120)
HSLhsl(61, 22%, 57%)
HSVhsv(61, 29%, 66%)
CMYKcmyk(0.6%, 0%, 29%, 33.7%)
CIE-LABlab(68.06, -8.36, 25.25)
CIE-LCHlch(68.06, 26.60, 108.31°)
OKLaboklab(72.17% -0.0217 0.0632)
OKLCHoklch(72.17% 0.067 108.9)
XYZxyz(33.7267, 38.0573, 23.3348)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A978 #7978A9
analogous
#A99278 #A8A978 #90A978
triadic
#A8A978 #78A8A9 #A978A8
tetradic
#A8A978 #78A992 #7978A9 #A97890
square
#A8A978 #78A992 #7978A9 #A97890
split-complementary
#A8A978 #7890A9 #9278A9
monochromatic
#656641 #8A8B59 #A8A978 #C0C19D #D8D9C3

Accessibility & contrast

On white

2.44
#A8A978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#A8A978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A978
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A978#FFFFFF#000000##000000
##A8A9781.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A575
Deuteranopia (green-blind)
#B2A77A
Tritanopia (blue-blind)
#AFA39C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8a978;
/* rgb */ color: rgb(168, 169, 120);
/* oklch */ color: oklch(72.2% 0.067 108.9);
Tailwind
colors: {
  custom: {
    50: '#c2c29f',
    500: '#a8a978',
    950: '#000000',
  },
}
SCSS
$custom: #a8a978;
$custom-light: #c2c29f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a978",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 120
  },
  "hsl": {
    "h": 61.224,
    "s": 22.172,
    "l": 56.667
  },
  "oklch": {
    "l": 0.72173,
    "c": 0.06682,
    "h": 108.9
  },
  "luminance": 0.38057
}

Semantic roles & 50–950 ramp

primary
#A8A978
secondary
#B5B4C8
accent
#69BF6B
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A978

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

Preview Lab → · Contrast checker → · Palette generator →

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