#8A8671#8A8671

#8A8671 is a mid, muted yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.031 H 98.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A8671
RGBrgb(138, 134, 113)
HSLhsl(50, 10%, 49%)
HSVhsv(50, 18%, 54%)
CMYKcmyk(0%, 2.9%, 18.1%, 45.9%)
CIE-LABlab(55.73, -2.25, 11.86)
CIE-LCHlch(55.73, 12.08, 100.76°)
OKLaboklab(61.76% -0.0045 0.0306)
OKLCHoklch(61.76% 0.031 98.3)
XYZxyz(21.9868, 23.6460, 19.0255)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8671 #71758A
analogous
#8A7A71 #8A8671 #828A71
triadic
#8A8671 #718A86 #86718A
tetradic
#8A8671 #718A7A #71758A #8A7182
square
#8A8671 #718A7A #71758A #8A7182
split-complementary
#8A8671 #71828A #7A718A
monochromatic
#47453A #686555 #8A8671 #A6A392 #C2BFB4

Accessibility & contrast

On white

3.67
#8A8671 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8A8671 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8671
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8671#FFFFFF#000000##000000
##8A86711.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8570
Deuteranopia (green-blind)
#8C8672
Tritanopia (blue-blind)
#8E8380
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8671;
/* rgb */ color: rgb(138, 134, 113);
/* oklch */ color: oklch(61.8% 0.031 98.3);
Tailwind
colors: {
  custom: {
    50: '#aca999',
    500: '#8a8671',
    950: '#000000',
  },
}
SCSS
$custom: #8a8671;
$custom-light: #aca999;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8671",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 113
  },
  "hsl": {
    "h": 50.4,
    "s": 9.96,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.03087,
    "h": 98.3
  },
  "luminance": 0.23646
}

Semantic roles & 50–950 ramp

primary
#8A8671
secondary
#A6A7B1
accent
#7FB375
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0E
muted
#7F7F7E

Preview Lab

Preview with #8A8671

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

Preview Lab → · Contrast checker → · Palette generator →

#8A8671 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva