#8A8640#8A8640

#8A8640 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.092 H 105.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A8640
RGBrgb(138, 134, 64)
HSLhsl(57, 37%, 40%)
HSVhsv(57, 54%, 54%)
CMYKcmyk(0%, 2.9%, 53.6%, 45.9%)
CIE-LABlab(54.89, -8.50, 37.75)
CIE-LCHlch(54.89, 38.70, 102.70°)
OKLaboklab(60.82% -0.0252 0.0887)
OKLCHoklch(60.82% 0.092 105.9)
XYZxyz(19.9323, 22.8242, 8.2050)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8640 #40448A
analogous
#8A6140 #8A8640 #698A40
triadic
#8A8640 #408A86 #86408A
tetradic
#8A8640 #408A61 #40448A #8A4069
square
#8A8640 #408A61 #40448A #8A4069
split-complementary
#8A8640 #40698A #61408A
monochromatic
#363519 #605D2D #8A8640 #B1AC56 #C4C180

Accessibility & contrast

On white

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

On black

5.56
#8A8640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8640
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8640#FFFFFF#000000##000000
##8A86401.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#928543
Tritanopia (blue-blind)
#937E76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8640;
/* rgb */ color: rgb(138, 134, 64);
/* oklch */ color: oklch(60.8% 0.092 105.9);
Tailwind
colors: {
  custom: {
    50: '#aea977',
    500: '#8a8640',
    950: '#000000',
  },
}
SCSS
$custom: #8a8640;
$custom-light: #aea977;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8640",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 56.757,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.09225,
    "h": 105.9
  },
  "luminance": 0.22824
}

Semantic roles & 50–950 ramp

primary
#8A8640
secondary
#777AAF
accent
#61CD5B
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8640

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

Preview Lab → · Contrast checker → · Palette generator →

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