#8A8261#8A8261

#8A8261 is a mid, muted yellow. Relative luminance 0.222; OKLCH L 60.5% C 0.048 H 96.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A8261
RGBrgb(138, 130, 97)
HSLhsl(48, 17%, 46%)
HSVhsv(48, 30%, 54%)
CMYKcmyk(0%, 5.8%, 29.7%, 45.9%)
CIE-LABlab(54.27, -2.45, 19.00)
CIE-LCHlch(54.27, 19.16, 97.36°)
OKLaboklab(60.5% -0.0051 0.0479)
OKLCHoklch(60.5% 0.048 96.1)
XYZxyz(20.6217, 22.2321, 14.5119)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8261 #61698A
analogous
#8A6D61 #8A8261 #7D8A61
triadic
#8A8261 #618A82 #82618A
tetradic
#8A8261 #618A6D #61698A #8A617D
square
#8A8261 #618A6D #61698A #8A617D
split-complementary
#8A8261 #617D8A #6D618A
monochromatic
#423E2E #666048 #8A8261 #A79F81 #C0BBA5

Accessibility & contrast

On white

3.86
#8A8261 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A8261 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8261
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8261#FFFFFF#000000##000000
##8A82611.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805F
Deuteranopia (green-blind)
#8B8362
Tritanopia (blue-blind)
#907D79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8261;
/* rgb */ color: rgb(138, 130, 97);
/* oklch */ color: oklch(60.5% 0.048 96.1);
Tailwind
colors: {
  custom: {
    50: '#aca68e',
    500: '#8a8261',
    950: '#000000',
  },
}
SCSS
$custom: #8a8261;
$custom-light: #aca68e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8261",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 97
  },
  "hsl": {
    "h": 48.293,
    "s": 17.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60496,
    "c": 0.04813,
    "h": 96.1
  },
  "luminance": 0.22232
}

Semantic roles & 50–950 ramp

primary
#8A8261
secondary
#989DAF
accent
#7DBA6E
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8A8261

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

Preview Lab → · Contrast checker → · Palette generator →

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