#8A832B#8A832B

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

Color values

HEX#8A832B
RGBrgb(138, 131, 43)
HSLhsl(56, 52%, 35%)
HSVhsv(56, 69%, 54%)
CMYKcmyk(0%, 5.1%, 68.8%, 45.9%)
CIE-LABlab(53.83, -8.44, 46.49)
CIE-LCHlch(53.83, 47.25, 100.29°)
OKLaboklab(59.9% -0.0275 0.1044)
OKLCHoklch(59.9% 0.108 104.8)
XYZxyz(19.0343, 21.8110, 5.4923)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A832B #2B328A
analogous
#8A532B #8A832B #618A2B
triadic
#8A832B #2B8A83 #832B8A
tetradic
#8A832B #2B8A53 #2B328A #8A2B61
square
#8A832B #2B8A53 #2B328A #8A2B61
split-complementary
#8A832B #2B618A #532B8A
monochromatic
#2D2A0E #5B571C #8A832B #B9AF3A #CEC661

Accessibility & contrast

On white

3.92
#8A832B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A832B#FFFFFF#000000##000000
##8A832B1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a832b;
/* rgb */ color: rgb(138, 131, 43);
/* oklch */ color: oklch(59.9% 0.108 104.8);
Tailwind
colors: {
  custom: {
    50: '#afa66a',
    500: '#8a832b',
    950: '#000000',
  },
}
SCSS
$custom: #8a832b;
$custom-light: #afa66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a832b",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 43
  },
  "hsl": {
    "h": 55.579,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.108,
    "h": 104.8
  },
  "luminance": 0.2181
}

Semantic roles & 50–950 ramp

primary
#8A832B
secondary
#5D63B4
accent
#57DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A832B

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

Preview Lab → · Contrast checker → · Palette generator →

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