#8A8941#8A8941

#8A8941 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.095 H 108.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A8941
RGBrgb(138, 137, 65)
HSLhsl(59, 36%, 40%)
HSVhsv(59, 53%, 54%)
CMYKcmyk(0%, 0.7%, 52.9%, 45.9%)
CIE-LABlab(55.76, -10.05, 38.26)
CIE-LCHlch(55.76, 39.56, 104.71°)
OKLaboklab(61.52% -0.0295 0.09)
OKLCHoklch(61.52% 0.095 108.2)
XYZxyz(20.3815, 23.6768, 8.4964)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8941 #41428A
analogous
#8A6541 #8A8941 #678A41
triadic
#8A8941 #418A89 #89418A
tetradic
#8A8941 #418A65 #41428A #8A4167
square
#8A8941 #418A65 #41428A #8A4167
split-complementary
#8A8941 #41678A #65418A
monochromatic
#37361A #60602D #8A8941 #B0AF58 #C4C382

Accessibility & contrast

On white

3.66
#8A8941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A8941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8941
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8941#FFFFFF#000000##000000
##8A89411.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843A
Deuteranopia (green-blind)
#948745
Tritanopia (blue-blind)
#938179
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8941;
/* rgb */ color: rgb(138, 137, 65);
/* oklch */ color: oklch(61.5% 0.095 108.2);
Tailwind
colors: {
  custom: {
    50: '#aeab78',
    500: '#8a8941',
    950: '#000000',
  },
}
SCSS
$custom: #8a8941;
$custom-light: #aeab78;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8941",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 59.178,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.09468,
    "h": 108.2
  },
  "luminance": 0.23676
}

Semantic roles & 50–950 ramp

primary
#8A8941
secondary
#7879AE
accent
#5DCC5C
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8941

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

Preview Lab → · Contrast checker → · Palette generator →

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