#8A8564#8A8564

#8A8564 is a mid, muted yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.048 H 100.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A8564
RGBrgb(138, 133, 100)
HSLhsl(52, 16%, 47%)
HSVhsv(52, 28%, 54%)
CMYKcmyk(0%, 3.6%, 27.5%, 45.9%)
CIE-LABlab(55.17, -3.70, 18.52)
CIE-LCHlch(55.17, 18.88, 101.31°)
OKLaboklab(61.23% -0.0086 0.0468)
OKLCHoklch(61.23% 0.048 100.4)
XYZxyz(21.1691, 23.0988, 15.3975)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8564 #64698A
analogous
#8A7264 #8A8564 #7C8A64
triadic
#8A8564 #648A85 #85648A
tetradic
#8A8564 #648A72 #64698A #8A647C
square
#8A8564 #648A72 #64698A #8A647C
split-complementary
#8A8564 #647C8A #72648A
monochromatic
#434131 #67634A #8A8564 #A6A285 #C0BDA8

Accessibility & contrast

On white

3.74
#8A8564 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A8564 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8564
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8564#FFFFFF#000000##000000
##8A85641.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8362
Deuteranopia (green-blind)
#8D8565
Tritanopia (blue-blind)
#90807C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8564;
/* rgb */ color: rgb(138, 133, 100);
/* oklch */ color: oklch(61.2% 0.048 100.4);
Tailwind
colors: {
  custom: {
    50: '#aca890',
    500: '#8a8564',
    950: '#000000',
  },
}
SCSS
$custom: #8a8564;
$custom-light: #aca890;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8564",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 100
  },
  "hsl": {
    "h": 52.105,
    "s": 15.966,
    "l": 46.667
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.04754,
    "h": 100.4
  },
  "luminance": 0.23098
}

Semantic roles & 50–950 ramp

primary
#8A8564
secondary
#9B9DAF
accent
#79B96F
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8A8564

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

Preview Lab → · Contrast checker → · Palette generator →

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