#8A8947#8A8947

#8A8947 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.088 H 108.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A8947
RGBrgb(138, 137, 71)
HSLhsl(59, 32%, 41%)
HSVhsv(59, 49%, 54%)
CMYKcmyk(0%, 0.7%, 48.6%, 45.9%)
CIE-LABlab(55.84, -9.47, 35.27)
CIE-LCHlch(55.84, 36.52, 105.03°)
OKLaboklab(61.6% -0.0272 0.084)
OKLCHoklch(61.6% 0.088 108)
XYZxyz(20.5647, 23.7500, 9.4609)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8947 #47488A
analogous
#8A6747 #8A8947 #698A47
triadic
#8A8947 #478A89 #89478A
tetradic
#8A8947 #478A67 #47488A #8A4769
square
#8A8947 #478A67 #47488A #8A4769
split-complementary
#8A8947 #47698A #67478A
monochromatic
#39391D #626132 #8A8947 #AEAC61 #C2C189

Accessibility & contrast

On white

3.65
#8A8947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8A8947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8947
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8947#FFFFFF#000000##000000
##8A89471.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928441
Deuteranopia (green-blind)
#94874A
Tritanopia (blue-blind)
#92827A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8947;
/* rgb */ color: rgb(138, 137, 71);
/* oklch */ color: oklch(61.6% 0.088 108.0);
Tailwind
colors: {
  custom: {
    50: '#aeab7c',
    500: '#8a8947',
    950: '#000000',
  },
}
SCSS
$custom: #8a8947;
$custom-light: #aeab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8947",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 71
  },
  "hsl": {
    "h": 59.104,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.08829,
    "h": 108
  },
  "luminance": 0.2375
}

Semantic roles & 50–950 ramp

primary
#8A8947
secondary
#7F80AE
accent
#61C860
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8947

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

Preview Lab → · Contrast checker → · Palette generator →

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