#8A8232#8A8232

#8A8232 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.101 H 103.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A8232
RGBrgb(138, 130, 50)
HSLhsl(55, 47%, 37%)
HSVhsv(55, 64%, 54%)
CMYKcmyk(0%, 5.8%, 63.8%, 45.9%)
CIE-LABlab(53.60, -7.44, 43.12)
CIE-LCHlch(53.60, 43.76, 99.79°)
OKLaboklab(59.74% -0.0238 0.0985)
OKLCHoklch(59.74% 0.101 103.6)
XYZxyz(19.0403, 21.5995, 6.1832)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8232 #323A8A
analogous
#8A5632 #8A8232 #668A32
triadic
#8A8232 #328A82 #82328A
tetradic
#8A8232 #328A56 #323A8A #8A3266
square
#8A8232 #328A56 #323A8A #8A3266
split-complementary
#8A8232 #32668A #56328A
monochromatic
#302D11 #5D5822 #8A8232 #B7AC42 #CAC16C

Accessibility & contrast

On white

3.95
#8A8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8232
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8232#FFFFFF#000000##000000
##8A82321.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E29
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#947971
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8232;
/* rgb */ color: rgb(138, 130, 50);
/* oklch */ color: oklch(59.7% 0.101 103.6);
Tailwind
colors: {
  custom: {
    50: '#afa66e',
    500: '#8a8232',
    950: '#000000',
  },
}
SCSS
$custom: #8a8232;
$custom-light: #afa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8232",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 54.545,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.10131,
    "h": 103.6
  },
  "luminance": 0.21599
}

Semantic roles & 50–950 ramp

primary
#8A8232
secondary
#666DB2
accent
#5DD651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8232

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

Preview Lab → · Contrast checker → · Palette generator →

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