#A8A671#A8A671

#A8A671 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.072 H 106.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A8A671
RGBrgb(168, 166, 113)
HSLhsl(58, 24%, 55%)
HSVhsv(58, 33%, 66%)
CMYKcmyk(0%, 1.2%, 32.7%, 34.1%)
CIE-LABlab(67.12, -7.68, 27.77)
CIE-LCHlch(67.12, 28.81, 105.47°)
OKLaboklab(71.38% -0.0201 0.0689)
OKLCHoklch(71.38% 0.072 106.2)
XYZxyz(32.7656, 36.7901, 20.9947)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A671 #7173A8
analogous
#A88A71 #A8A671 #8FA871
triadic
#A8A671 #71A8A6 #A671A8
tetradic
#A8A671 #71A88A #7173A8 #A8718F
square
#A8A671 #71A88A #7173A8 #A8718F
split-complementary
#A8A671 #718FA8 #8A71A8
monochromatic
#62613C #888654 #A8A671 #BFBE97 #D7D6BD

Accessibility & contrast

On white

2.51
#A8A671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#A8A671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A671
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A671#FFFFFF#000000##000000
##A8A6711.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA26D
Deuteranopia (green-blind)
#B0A573
Tritanopia (blue-blind)
#B09F98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a671;
/* rgb */ color: rgb(168, 166, 113);
/* oklch */ color: oklch(71.4% 0.072 106.2);
Tailwind
colors: {
  custom: {
    50: '#c2c09a',
    500: '#a8a671',
    950: '#000000',
  },
}
SCSS
$custom: #a8a671;
$custom-light: #c2c09a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a671",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 113
  },
  "hsl": {
    "h": 57.818,
    "s": 24.017,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71384,
    "c": 0.07181,
    "h": 106.2
  },
  "luminance": 0.3679
}

Semantic roles & 50–950 ramp

primary
#A8A671
secondary
#AFB0C6
accent
#6BC067
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8A671

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

Preview Lab → · Contrast checker → · Palette generator →

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