#8B8531#8B8531

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

Color values

HEX#8B8531
RGBrgb(139, 133, 49)
HSLhsl(56, 48%, 37%)
HSVhsv(56, 65%, 55%)
CMYKcmyk(0%, 4.3%, 64.7%, 45.5%)
CIE-LABlab(54.54, -8.70, 44.62)
CIE-LCHlch(54.54, 45.46, 101.03°)
OKLaboklab(60.51% -0.0276 0.1015)
OKLCHoklch(60.51% 0.105 105.2)
XYZxyz(19.5901, 22.4865, 6.2135)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8531 #31378B
analogous
#8B5831 #8B8531 #648B31
triadic
#8B8531 #318B85 #85318B
tetradic
#8B8531 #318B58 #31378B #8B3164
square
#8B8531 #318B58 #31378B #8B3164
split-complementary
#8B8531 #31648B #58318B
monochromatic
#312E11 #5E5A21 #8B8531 #B8B041 #CBC56B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8531#FFFFFF#000000##000000
##8B85311.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)
#908027
Deuteranopia (green-blind)
#938436
Tritanopia (blue-blind)
#957C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8531;
/* rgb */ color: rgb(139, 133, 49);
/* oklch */ color: oklch(60.5% 0.105 105.2);
Tailwind
colors: {
  custom: {
    50: '#afa86d',
    500: '#8b8531',
    950: '#000000',
  },
}
SCSS
$custom: #8b8531;
$custom-light: #afa86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8531",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 56,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.10514,
    "h": 105.2
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#8B8531
secondary
#656AB2
accent
#59D750
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8531

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

Preview Lab → · Contrast checker → · Palette generator →

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