#8A8832#8A8832

#8A8832 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.108 H 107.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A8832
RGBrgb(138, 136, 50)
HSLhsl(59, 47%, 37%)
HSVhsv(59, 64%, 54%)
CMYKcmyk(0%, 1.4%, 63.8%, 45.9%)
CIE-LABlab(55.32, -10.71, 44.98)
CIE-LCHlch(55.32, 46.23, 103.40°)
OKLaboklab(61.11% -0.0331 0.1024)
OKLCHoklch(61.11% 0.108 107.9)
XYZxyz(19.8618, 23.2425, 6.4570)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8832 #32348A
analogous
#8A5C32 #8A8832 #608A32
triadic
#8A8832 #328A88 #88328A
tetradic
#8A8832 #328A5C #32348A #8A3260
square
#8A8832 #328A5C #32348A #8A3260
split-complementary
#8A8832 #32608A #5C328A
monochromatic
#302F11 #5D5C22 #8A8832 #B7B442 #CAC86C

Accessibility & contrast

On white

3.72
#8A8832 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A8832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8832
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8832#FFFFFF#000000##000000
##8A88321.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938327
Deuteranopia (green-blind)
#948637
Tritanopia (blue-blind)
#947F76
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8832;
/* rgb */ color: rgb(138, 136, 50);
/* oklch */ color: oklch(61.1% 0.108 107.9);
Tailwind
colors: {
  custom: {
    50: '#afaa6e',
    500: '#8a8832',
    950: '#000000',
  },
}
SCSS
$custom: #8a8832;
$custom-light: #afaa6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8832",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 50
  },
  "hsl": {
    "h": 58.636,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.10762,
    "h": 107.9
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#8A8832
secondary
#6668B2
accent
#54D651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8832

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

Preview Lab → · Contrast checker → · Palette generator →

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