#8A8132#8A8132

#8A8132 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.100 H 102.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A8132
RGBrgb(138, 129, 50)
HSLhsl(54, 47%, 37%)
HSVhsv(54, 64%, 54%)
CMYKcmyk(0%, 6.5%, 63.8%, 45.9%)
CIE-LABlab(53.31, -6.89, 42.82)
CIE-LCHlch(53.31, 43.37, 99.14°)
OKLaboklab(59.52% -0.0223 0.0978)
OKLCHoklch(59.52% 0.1 102.8)
XYZxyz(18.9079, 21.3348, 6.1390)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8132 #323B8A
analogous
#8A5532 #8A8132 #678A32
triadic
#8A8132 #328A81 #81328A
tetradic
#8A8132 #328A55 #323B8A #8A3267
square
#8A8132 #328A55 #323B8A #8A3267
split-complementary
#8A8132 #32678A #55328A
monochromatic
#302D11 #5D5722 #8A8132 #B7AB42 #CAC06C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8132#FFFFFF#000000##000000
##8A81321.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D29
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#947870
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8132;
/* rgb */ color: rgb(138, 129, 50);
/* oklch */ color: oklch(59.5% 0.100 102.8);
Tailwind
colors: {
  custom: {
    50: '#afa56e',
    500: '#8a8132',
    950: '#000000',
  },
}
SCSS
$custom: #8a8132;
$custom-light: #afa56e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8132",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 50
  },
  "hsl": {
    "h": 53.864,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.10031,
    "h": 102.8
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#8A8132
secondary
#666EB2
accent
#5FD651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8132

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

Preview Lab → · Contrast checker → · Palette generator →

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