#8A8047#8A8047

#8A8047 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.078 H 99.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A8047
RGBrgb(138, 128, 71)
HSLhsl(51, 32%, 41%)
HSVhsv(51, 49%, 54%)
CMYKcmyk(0%, 7.2%, 48.6%, 45.9%)
CIE-LABlab(53.27, -4.51, 32.15)
CIE-LCHlch(53.27, 32.46, 97.99°)
OKLaboklab(59.56% -0.013 0.0771)
OKLCHoklch(59.56% 0.078 99.6)
XYZxyz(19.3383, 21.2972, 9.0521)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8047 #47518A
analogous
#8A5E47 #8A8047 #728A47
triadic
#8A8047 #478A80 #80478A
tetradic
#8A8047 #478A5E #47518A #8A4772
square
#8A8047 #478A5E #47518A #8A4772
split-complementary
#8A8047 #47728A #5E478A
monochromatic
#39351D #625B32 #8A8047 #AEA261 #C2BA89

Accessibility & contrast

On white

3.99
#8A8047 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A8047 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8047
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8047#FFFFFF#000000##000000
##8A80471.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D42
Deuteranopia (green-blind)
#8D8149
Tritanopia (blue-blind)
#937972
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8047;
/* rgb */ color: rgb(138, 128, 71);
/* oklch */ color: oklch(59.6% 0.078 99.6);
Tailwind
colors: {
  custom: {
    50: '#aea47b',
    500: '#8a8047',
    950: '#000000',
  },
}
SCSS
$custom: #8a8047;
$custom-light: #aea47b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8047",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 71
  },
  "hsl": {
    "h": 51.045,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.07817,
    "h": 99.6
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#8A8047
secondary
#7F86AE
accent
#6FC860
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8047

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

Preview Lab → · Contrast checker → · Palette generator →

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