#8A8332#8A8332

#8A8332 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.102 H 104.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8A8332
RGBrgb(138, 131, 50)
HSLhsl(55, 47%, 37%)
HSVhsv(55, 64%, 54%)
CMYKcmyk(0%, 5.1%, 63.8%, 45.9%)
CIE-LABlab(53.89, -7.99, 43.43)
CIE-LCHlch(53.89, 44.16, 100.42°)
OKLaboklab(59.97% -0.0254 0.0991)
OKLCHoklch(59.97% 0.102 104.4)
XYZxyz(19.1739, 21.8669, 6.2277)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8332 #32398A
analogous
#8A5732 #8A8332 #658A32
triadic
#8A8332 #328A83 #83328A
tetradic
#8A8332 #328A57 #32398A #8A3265
square
#8A8332 #328A57 #32398A #8A3265
split-complementary
#8A8332 #32658A #57328A
monochromatic
#302E11 #5D5822 #8A8332 #B7AE42 #CAC26C

Accessibility & contrast

On white

3.91
#8A8332 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8A8332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8332
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8332#FFFFFF#000000##000000
##8A83321.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F28
Deuteranopia (green-blind)
#918337
Tritanopia (blue-blind)
#947A72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8332;
/* rgb */ color: rgb(138, 131, 50);
/* oklch */ color: oklch(60.0% 0.102 104.4);
Tailwind
colors: {
  custom: {
    50: '#afa66e',
    500: '#8a8332',
    950: '#000000',
  },
}
SCSS
$custom: #8a8332;
$custom-light: #afa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8332",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 55.227,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59971,
    "c": 0.10232,
    "h": 104.4
  },
  "luminance": 0.21866
}

Semantic roles & 50–950 ramp

primary
#8A8332
secondary
#666CB2
accent
#5CD651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8332

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

Preview Lab → · Contrast checker → · Palette generator →

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