#8A8341#8A8341

#8A8341 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.088 H 103.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A8341
RGBrgb(138, 131, 65)
HSLhsl(54, 36%, 40%)
HSVhsv(54, 53%, 54%)
CMYKcmyk(0%, 5.1%, 52.9%, 45.9%)
CIE-LABlab(54.05, -6.76, 36.24)
CIE-LCHlch(54.05, 36.87, 100.57°)
OKLaboklab(60.15% -0.0201 0.0856)
OKLCHoklch(60.15% 0.088 103.2)
XYZxyz(19.5522, 22.0182, 8.2200)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8341 #41488A
analogous
#8A5F41 #8A8341 #6C8A41
triadic
#8A8341 #418A83 #83418A
tetradic
#8A8341 #418A5F #41488A #8A416C
square
#8A8341 #418A5F #41488A #8A416C
split-complementary
#8A8341 #416C8A #5F418A
monochromatic
#37341A #605C2D #8A8341 #B0A858 #C4BE82

Accessibility & contrast

On white

3.89
#8A8341 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A8341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8341
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8341#FFFFFF#000000##000000
##8A83411.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3B
Deuteranopia (green-blind)
#8F8344
Tritanopia (blue-blind)
#937B74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8341;
/* rgb */ color: rgb(138, 131, 65);
/* oklch */ color: oklch(60.2% 0.088 103.2);
Tailwind
colors: {
  custom: {
    50: '#aea677',
    500: '#8a8341',
    950: '#000000',
  },
}
SCSS
$custom: #8a8341;
$custom-light: #aea677;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8341",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 54.247,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.0879,
    "h": 103.2
  },
  "luminance": 0.22018
}

Semantic roles & 50–950 ramp

primary
#8A8341
secondary
#787EAE
accent
#67CC5C
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8341

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

Preview Lab → · Contrast checker → · Palette generator →

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