#8B8532#8B8532

#8B8532 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.104 H 105.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8B8532
RGBrgb(139, 133, 50)
HSLhsl(56, 47%, 37%)
HSVhsv(56, 64%, 55%)
CMYKcmyk(0%, 4.3%, 64%, 45.5%)
CIE-LABlab(54.55, -8.63, 44.17)
CIE-LCHlch(54.55, 45.01, 101.06°)
OKLaboklab(60.52% -0.0273 0.1007)
OKLCHoklch(60.52% 0.104 105.2)
XYZxyz(19.6114, 22.4950, 6.3259)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8532 #32388B
analogous
#8B5932 #8B8532 #658B32
triadic
#8B8532 #328B85 #85328B
tetradic
#8B8532 #328B59 #32388B #8B3265
square
#8B8532 #328B59 #32388B #8B3265
split-complementary
#8B8532 #32658B #59328B
monochromatic
#312F12 #5E5A22 #8B8532 #B8B042 #CAC46D

Accessibility & contrast

On white

3.82
#8B8532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8B8532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8532
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8532#FFFFFF#000000##000000
##8B85321.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#957C74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8532;
/* rgb */ color: rgb(139, 133, 50);
/* oklch */ color: oklch(60.5% 0.104 105.2);
Tailwind
colors: {
  custom: {
    50: '#afa86e',
    500: '#8b8532',
    950: '#000000',
  },
}
SCSS
$custom: #8b8532;
$custom-light: #afa86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8532",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 55.955,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6052,
    "c": 0.1043,
    "h": 105.2
  },
  "luminance": 0.22494
}

Semantic roles & 50–950 ramp

primary
#8B8532
secondary
#676CB2
accent
#5AD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8532

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

Preview Lab → · Contrast checker → · Palette generator →

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