#A8A478#A8A478

#A8A478 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.060 H 103.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#A8A478
RGBrgb(168, 164, 120)
HSLhsl(55, 22%, 56%)
HSVhsv(55, 29%, 66%)
CMYKcmyk(0%, 2.4%, 28.6%, 34.1%)
CIE-LABlab(66.70, -5.69, 23.42)
CIE-LCHlch(66.70, 24.10, 103.66°)
OKLaboklab(71.09% -0.0141 0.0588)
OKLCHoklch(71.09% 0.06 103.5)
XYZxyz(32.8142, 36.2324, 23.0306)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A478 #787CA8
analogous
#A88C78 #A8A478 #94A878
triadic
#A8A478 #78A8A4 #A478A8
tetradic
#A8A478 #78A88C #787CA8 #A87894
square
#A8A478 #78A88C #787CA8 #A87894
split-complementary
#A8A478 #7894A8 #8C78A8
monochromatic
#656241 #8A8659 #A8A478 #C0BD9D #D8D6C2

Accessibility & contrast

On white

2.55
#A8A478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#A8A478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A478
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A478#FFFFFF#000000##000000
##A8A4781.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA175
Deuteranopia (green-blind)
#ADA37A
Tritanopia (blue-blind)
#AF9E98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a478;
/* rgb */ color: rgb(168, 164, 120);
/* oklch */ color: oklch(71.1% 0.060 103.5);
Tailwind
colors: {
  custom: {
    50: '#c2be9f',
    500: '#a8a478',
    950: '#000000',
  },
}
SCSS
$custom: #a8a478;
$custom-light: #c2be9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a478",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 120
  },
  "hsl": {
    "h": 55,
    "s": 21.622,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7109,
    "c": 0.06049,
    "h": 103.5
  },
  "luminance": 0.36232
}

Semantic roles & 50–950 ramp

primary
#A8A478
secondary
#B4B6C8
accent
#71BE6A
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A478

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

Preview Lab → · Contrast checker → · Palette generator →

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