#A8A78E#A8A78E

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

Color values

HEX#A8A78E
RGBrgb(168, 167, 142)
HSLhsl(58, 13%, 61%)
HSVhsv(58, 15%, 66%)
CMYKcmyk(0%, 0.6%, 15.5%, 34.1%)
CIE-LABlab(67.96, -4.02, 13.09)
CIE-LCHlch(67.96, 13.69, 107.09°)
OKLaboklab(72.24% -0.0093 0.0338)
OKLCHoklch(72.24% 0.035 105.4)
XYZxyz(34.8492, 37.9156, 31.0685)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A78E #8E8FA8
analogous
#A89A8E #A8A78E #9CA88E
triadic
#A8A78E #8EA8A7 #A78EA8
tetradic
#A8A78E #8EA89A #8E8FA8 #A88E9C
square
#A8A78E #8EA89A #8E8FA8 #A88E9C
split-complementary
#A8A78E #8E9CA8 #9A8EA8
monochromatic
#6A6952 #8D8B6C #A8A78E #C3C2B1 #DDDDD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A78E#FFFFFF#000000##000000
##A8A78E1.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)
#ACA58D
Deuteranopia (green-blind)
#ACA68F
Tritanopia (blue-blind)
#ACA4A0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8a78e;
/* rgb */ color: rgb(168, 167, 142);
/* oklch */ color: oklch(72.2% 0.035 105.4);
Tailwind
colors: {
  custom: {
    50: '#c2c1af',
    500: '#a8a78e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a78e;
$custom-light: #c2c1af;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a78e",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 142
  },
  "hsl": {
    "h": 57.692,
    "s": 13,
    "l": 60.784
  },
  "oklch": {
    "l": 0.72235,
    "c": 0.03501,
    "h": 105.4
  },
  "luminance": 0.37915
}

Semantic roles & 50–950 ramp

primary
#A8A78E
secondary
#C4C4CE
accent
#51974E
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A78E

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

Preview Lab → · Contrast checker → · Palette generator →

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