#8A8147#8A8147

#8A8147 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.079 H 100.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A8147
RGBrgb(138, 129, 71)
HSLhsl(52, 32%, 41%)
HSVhsv(52, 49%, 54%)
CMYKcmyk(0%, 6.5%, 48.6%, 45.9%)
CIE-LABlab(53.56, -5.07, 32.50)
CIE-LCHlch(53.56, 32.89, 98.87°)
OKLaboklab(59.79% -0.0146 0.0779)
OKLCHoklch(59.79% 0.079 100.6)
XYZxyz(19.4693, 21.5594, 9.0958)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8147 #47508A
analogous
#8A5F47 #8A8147 #718A47
triadic
#8A8147 #478A81 #81478A
tetradic
#8A8147 #478A5F #47508A #8A4771
square
#8A8147 #478A5F #47508A #8A4771
split-complementary
#8A8147 #47718A #5F478A
monochromatic
#39351D #625B32 #8A8147 #AEA361 #C2BB89

Accessibility & contrast

On white

3.95
#8A8147 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8A8147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8147
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8147#FFFFFF#000000##000000
##8A81471.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E42
Deuteranopia (green-blind)
#8D8249
Tritanopia (blue-blind)
#937A73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8147;
/* rgb */ color: rgb(138, 129, 71);
/* oklch */ color: oklch(59.8% 0.079 100.6);
Tailwind
colors: {
  custom: {
    50: '#aea57b',
    500: '#8a8147',
    950: '#000000',
  },
}
SCSS
$custom: #8a8147;
$custom-light: #aea57b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8147",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 51.94,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.07921,
    "h": 100.6
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#8A8147
secondary
#7F85AE
accent
#6EC860
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8147

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

Preview Lab → · Contrast checker → · Palette generator →

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