#8A832D#8A832D

#8A832D is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.106 H 104.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A832D
RGBrgb(138, 131, 45)
HSLhsl(55, 51%, 36%)
HSVhsv(55, 67%, 54%)
CMYKcmyk(0%, 5.1%, 67.4%, 45.9%)
CIE-LABlab(53.84, -8.32, 45.64)
CIE-LCHlch(53.84, 46.39, 100.33°)
OKLaboklab(59.92% -0.0269 0.103)
OKLCHoklch(59.92% 0.106 104.7)
XYZxyz(19.0719, 21.8260, 5.6903)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A832D #2D348A
analogous
#8A542D #8A832D #628A2D
triadic
#8A832D #2D8A83 #832D8A
tetradic
#8A832D #2D8A54 #2D348A #8A2D62
square
#8A832D #2D8A54 #2D348A #8A2D62
split-complementary
#8A832D #2D628A #542D8A
monochromatic
#2E2B0F #5C571E #8A832D #B8AF3C #CDC565

Accessibility & contrast

On white

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

On black

5.36
#8A832D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A832D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A832D#FFFFFF#000000##000000
##8A832D1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#918232
Tritanopia (blue-blind)
#947A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a832d;
/* rgb */ color: rgb(138, 131, 45);
/* oklch */ color: oklch(59.9% 0.106 104.7);
Tailwind
colors: {
  custom: {
    50: '#afa66b',
    500: '#8a832d',
    950: '#000000',
  },
}
SCSS
$custom: #8a832d;
$custom-light: #afa66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a832d",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 45
  },
  "hsl": {
    "h": 55.484,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.10646,
    "h": 104.7
  },
  "luminance": 0.21825
}

Semantic roles & 50–950 ramp

primary
#8A832D
secondary
#6066B3
accent
#58DA4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A832D

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

Preview Lab → · Contrast checker → · Palette generator →

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