#8A8432#8A8432

#8A8432 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.103 H 105.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A8432
RGBrgb(138, 132, 50)
HSLhsl(56, 47%, 37%)
HSVhsv(56, 64%, 54%)
CMYKcmyk(0%, 4.3%, 63.8%, 45.9%)
CIE-LABlab(54.17, -8.54, 43.74)
CIE-LCHlch(54.17, 44.57, 101.04°)
OKLaboklab(60.2% -0.027 0.0998)
OKLCHoklch(60.2% 0.103 105.1)
XYZxyz(19.3089, 22.1368, 6.2727)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8432 #32388A
analogous
#8A5832 #8A8432 #648A32
triadic
#8A8432 #328A84 #84328A
tetradic
#8A8432 #328A58 #32388A #8A3264
square
#8A8432 #328A58 #32388A #8A3264
split-complementary
#8A8432 #32648A #58328A
monochromatic
#302E11 #5D5922 #8A8432 #B7AF42 #CAC46C

Accessibility & contrast

On white

3.87
#8A8432 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A8432 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8432
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8432#FFFFFF#000000##000000
##8A84321.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8432;
/* rgb */ color: rgb(138, 132, 50);
/* oklch */ color: oklch(60.2% 0.103 105.1);
Tailwind
colors: {
  custom: {
    50: '#afa76e',
    500: '#8a8432',
    950: '#000000',
  },
}
SCSS
$custom: #8a8432;
$custom-light: #afa76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8432",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 50
  },
  "hsl": {
    "h": 55.909,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.10336,
    "h": 105.1
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#8A8432
secondary
#666BB2
accent
#5AD651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8432

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

Preview Lab → · Contrast checker → · Palette generator →

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