#8B8732#8B8732

#8B8732 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.106 H 106.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8B8732
RGBrgb(139, 135, 50)
HSLhsl(57, 47%, 37%)
HSVhsv(57, 64%, 55%)
CMYKcmyk(0%, 2.9%, 64%, 45.5%)
CIE-LABlab(55.12, -9.72, 44.79)
CIE-LCHlch(55.12, 45.83, 102.25°)
OKLaboklab(60.98% -0.0304 0.102)
OKLCHoklch(60.98% 0.106 106.6)
XYZxyz(19.8878, 23.0478, 6.4181)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8732 #32368B
analogous
#8B5A32 #8B8732 #638B32
triadic
#8B8732 #328B87 #87328B
tetradic
#8B8732 #328B5A #32368B #8B3263
square
#8B8732 #328B5A #32368B #8B3263
split-complementary
#8B8732 #32638B #5A328B
monochromatic
#313012 #5E5B22 #8B8732 #B8B342 #CAC66D

Accessibility & contrast

On white

3.74
#8B8732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8B8732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8732
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8732#FFFFFF#000000##000000
##8B87321.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928228
Deuteranopia (green-blind)
#948637
Tritanopia (blue-blind)
#957E75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8732;
/* rgb */ color: rgb(139, 135, 50);
/* oklch */ color: oklch(61.0% 0.106 106.6);
Tailwind
colors: {
  custom: {
    50: '#afa96e',
    500: '#8b8732',
    950: '#000000',
  },
}
SCSS
$custom: #8b8732;
$custom-light: #afa96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8732",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 57.303,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.10639,
    "h": 106.6
  },
  "luminance": 0.23047
}

Semantic roles & 50–950 ramp

primary
#8B8732
secondary
#676AB2
accent
#57D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8732

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

Preview Lab → · Contrast checker → · Palette generator →

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