#8B8232#8B8232

#8B8232 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.101 H 102.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8B8232
RGBrgb(139, 130, 50)
HSLhsl(54, 47%, 37%)
HSVhsv(54, 64%, 55%)
CMYKcmyk(0%, 6.5%, 64%, 45.5%)
CIE-LABlab(53.69, -6.99, 43.25)
CIE-LCHlch(53.69, 43.81, 99.17°)
OKLaboklab(59.84% -0.0226 0.0987)
OKLCHoklch(59.84% 0.101 102.9)
XYZxyz(19.2065, 21.6853, 6.1910)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8232 #323B8B
analogous
#8B5632 #8B8232 #678B32
triadic
#8B8232 #328B82 #82328B
tetradic
#8B8232 #328B56 #323B8B #8B3267
square
#8B8232 #328B56 #323B8B #8B3267
split-complementary
#8B8232 #32678B #56328B
monochromatic
#312E12 #5E5822 #8B8232 #B8AC42 #CAC16D

Accessibility & contrast

On white

3.93
#8B8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8B8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8232
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8232#FFFFFF#000000##000000
##8B82321.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8232;
/* rgb */ color: rgb(139, 130, 50);
/* oklch */ color: oklch(59.8% 0.101 102.9);
Tailwind
colors: {
  custom: {
    50: '#afa66e',
    500: '#8b8232',
    950: '#000000',
  },
}
SCSS
$custom: #8b8232;
$custom-light: #afa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8232",
  "rgb": {
    "r": 139,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 53.933,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.10127,
    "h": 102.9
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#8B8232
secondary
#676EB2
accent
#5FD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8232

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

Preview Lab → · Contrast checker → · Palette generator →

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