#A8A78F#A8A78F

#A8A78F is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.034 H 105.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#A8A78F
RGBrgb(168, 167, 143)
HSLhsl(58, 13%, 61%)
HSVhsv(58, 15%, 66%)
CMYKcmyk(0%, 0.6%, 14.9%, 34.1%)
CIE-LABlab(67.98, -3.86, 12.57)
CIE-LCHlch(67.98, 13.15, 107.08°)
OKLaboklab(72.26% -0.0088 0.0325)
OKLCHoklch(72.26% 0.034 105.3)
XYZxyz(34.9247, 37.9458, 31.4657)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A78F #8F90A8
analogous
#A89A8F #A8A78F #9CA88F
triadic
#A8A78F #8FA8A7 #A78FA8
tetradic
#A8A78F #8FA89A #8F90A8 #A88F9C
square
#A8A78F #8FA89A #8F90A8 #A88F9C
split-complementary
#A8A78F #8F9CA8 #9A8FA8
monochromatic
#6A6952 #8D8B6D #A8A78F #C3C2B1 #DEDDD4

Accessibility & contrast

On white

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

On black

8.59
#A8A78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A78F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A78F#FFFFFF#000000##000000
##A8A78F1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA58E
Deuteranopia (green-blind)
#ACA690
Tritanopia (blue-blind)
#ACA4A0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8a78f;
/* rgb */ color: rgb(168, 167, 143);
/* oklch */ color: oklch(72.3% 0.034 105.3);
Tailwind
colors: {
  custom: {
    50: '#c2c1af',
    500: '#a8a78f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a78f;
$custom-light: #c2c1af;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a78f",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 143
  },
  "hsl": {
    "h": 57.6,
    "s": 12.563,
    "l": 60.98
  },
  "oklch": {
    "l": 0.72259,
    "c": 0.03364,
    "h": 105.3
  },
  "luminance": 0.37945
}

Semantic roles & 50–950 ramp

primary
#A8A78F
secondary
#C5C5CE
accent
#52974F
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A78F

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

Preview Lab → · Contrast checker → · Palette generator →

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