#8A8466#8A8466

#8A8466 is a mid, muted yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.044 H 98.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A8466
RGBrgb(138, 132, 102)
HSLhsl(50, 15%, 47%)
HSVhsv(50, 26%, 54%)
CMYKcmyk(0%, 4.3%, 26.1%, 45.9%)
CIE-LABlab(54.93, -2.85, 17.05)
CIE-LCHlch(54.93, 17.29, 99.49°)
OKLaboklab(61.05% -0.0061 0.0432)
OKLCHoklch(61.05% 0.044 98.1)
XYZxyz(21.1308, 22.8655, 15.8681)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8466 #666C8A
analogous
#8A7266 #8A8466 #7E8A66
triadic
#8A8466 #668A84 #84668A
tetradic
#8A8466 #668A72 #666C8A #8A667E
square
#8A8466 #668A72 #666C8A #8A667E
split-complementary
#8A8466 #667E8A #72668A
monochromatic
#444132 #67624C #8A8466 #A6A187 #C0BDAA

Accessibility & contrast

On white

3.77
#8A8466 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8A8466 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8466
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8466#FFFFFF#000000##000000
##8A84661.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8264
Deuteranopia (green-blind)
#8C8567
Tritanopia (blue-blind)
#90807C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8466;
/* rgb */ color: rgb(138, 132, 102);
/* oklch */ color: oklch(61.1% 0.044 98.1);
Tailwind
colors: {
  custom: {
    50: '#aca791',
    500: '#8a8466',
    950: '#000000',
  },
}
SCSS
$custom: #8a8466;
$custom-light: #aca791;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8466",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 102
  },
  "hsl": {
    "h": 50,
    "s": 15,
    "l": 47.059
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.04367,
    "h": 98.1
  },
  "luminance": 0.22865
}

Semantic roles & 50–950 ramp

primary
#8A8466
secondary
#9DA0AF
accent
#7CB870
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0D
muted
#7F7F7D

Preview Lab

Preview with #8A8466

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

Preview Lab → · Contrast checker → · Palette generator →

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