#8A8032#8A8032

#8A8032 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.099 H 102.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A8032
RGBrgb(138, 128, 50)
HSLhsl(53, 47%, 37%)
HSVhsv(53, 64%, 54%)
CMYKcmyk(0%, 7.2%, 63.8%, 45.9%)
CIE-LABlab(53.03, -6.33, 42.51)
CIE-LCHlch(53.03, 42.98, 98.48°)
OKLaboklab(59.29% -0.0207 0.0972)
OKLCHoklch(59.29% 0.099 102)
XYZxyz(18.7768, 21.0726, 6.0954)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8032 #323C8A
analogous
#8A5432 #8A8032 #688A32
triadic
#8A8032 #328A80 #80328A
tetradic
#8A8032 #328A54 #323C8A #8A3268
square
#8A8032 #328A54 #323C8A #8A3268
split-complementary
#8A8032 #32688A #54328A
monochromatic
#302D11 #5D5622 #8A8032 #B7AA42 #CABF6C

Accessibility & contrast

On white

4.03
#8A8032 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8A8032 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8032
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8032#FFFFFF#000000##000000
##8A80321.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C29
Deuteranopia (green-blind)
#8E8136
Tritanopia (blue-blind)
#94776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8032;
/* rgb */ color: rgb(138, 128, 50);
/* oklch */ color: oklch(59.3% 0.099 102.0);
Tailwind
colors: {
  custom: {
    50: '#afa46d',
    500: '#8a8032',
    950: '#000000',
  },
}
SCSS
$custom: #8a8032;
$custom-light: #afa46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8032",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 50
  },
  "hsl": {
    "h": 53.182,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.09934,
    "h": 102
  },
  "luminance": 0.21072
}

Semantic roles & 50–950 ramp

primary
#8A8032
secondary
#666FB2
accent
#60D651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8032

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

Preview Lab → · Contrast checker → · Palette generator →

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