#8A8136#8A8136

#8A8136 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.097 H 102.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A8136
RGBrgb(138, 129, 54)
HSLhsl(54, 44%, 38%)
HSVhsv(54, 61%, 54%)
CMYKcmyk(0%, 6.5%, 60.9%, 45.9%)
CIE-LABlab(53.35, -6.59, 40.96)
CIE-LCHlch(53.35, 41.48, 99.14°)
OKLaboklab(59.56% -0.0209 0.0944)
OKLCHoklch(59.56% 0.097 102.5)
XYZxyz(18.9980, 21.3708, 6.6136)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8136 #363F8A
analogous
#8A5736 #8A8136 #698A36
triadic
#8A8136 #368A81 #81368A
tetradic
#8A8136 #368A57 #363F8A #8A3669
square
#8A8136 #368A57 #363F8A #8A3669
split-complementary
#8A8136 #36698A #57368A
monochromatic
#322F14 #5E5825 #8A8136 #B6AA47 #C8BF72

Accessibility & contrast

On white

3.98
#8A8136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8A8136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8136
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8136#FFFFFF#000000##000000
##8A81361.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2E
Deuteranopia (green-blind)
#8F813A
Tritanopia (blue-blind)
#947971
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8136;
/* rgb */ color: rgb(138, 129, 54);
/* oklch */ color: oklch(59.6% 0.097 102.5);
Tailwind
colors: {
  custom: {
    50: '#aea570',
    500: '#8a8136',
    950: '#000000',
  },
}
SCSS
$custom: #8a8136;
$custom-light: #aea570;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8136",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 53.571,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.09672,
    "h": 102.5
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#8A8136
secondary
#6B73B1
accent
#62D354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8136

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

Preview Lab → · Contrast checker → · Palette generator →

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