#A8A78D#A8A78D

#A8A78D is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.036 H 105.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#A8A78D
RGBrgb(168, 167, 141)
HSLhsl(58, 13%, 61%)
HSVhsv(58, 16%, 66%)
CMYKcmyk(0%, 0.6%, 16.1%, 34.1%)
CIE-LABlab(67.94, -4.18, 13.61)
CIE-LCHlch(67.94, 14.24, 107.09°)
OKLaboklab(72.21% -0.0097 0.0351)
OKLCHoklch(72.21% 0.036 105.5)
XYZxyz(34.7745, 37.8857, 30.6749)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A78D #8D8EA8
analogous
#A8998D #A8A78D #9BA88D
triadic
#A8A78D #8DA8A7 #A78DA8
tetradic
#A8A78D #8DA899 #8D8EA8 #A88D9B
square
#A8A78D #8DA899 #8D8EA8 #A88D9B
split-complementary
#A8A78D #8D9BA8 #998DA8
monochromatic
#6A6951 #8D8B6B #A8A78D #C2C2B0 #DDDDD2

Accessibility & contrast

On white

2.45
#A8A78D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#A8A78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A78D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A78D#FFFFFF#000000##000000
##A8A78D1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA58B
Deuteranopia (green-blind)
#ADA68E
Tritanopia (blue-blind)
#ACA3A0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8a78d;
/* rgb */ color: rgb(168, 167, 141);
/* oklch */ color: oklch(72.2% 0.036 105.5);
Tailwind
colors: {
  custom: {
    50: '#c2c1ae',
    500: '#a8a78d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a78d;
$custom-light: #c2c1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a78d",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 141
  },
  "hsl": {
    "h": 57.778,
    "s": 13.433,
    "l": 60.588
  },
  "oklch": {
    "l": 0.7221,
    "c": 0.03638,
    "h": 105.5
  },
  "luminance": 0.37885
}

Semantic roles & 50–950 ramp

primary
#A8A78D
secondary
#C3C4CE
accent
#51984E
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A78D

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

Preview Lab → · Contrast checker → · Palette generator →

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