#8B8520#8B8520

#8B8520 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.117 H 105.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8B8520
RGBrgb(139, 133, 32)
HSLhsl(57, 63%, 34%)
HSVhsv(57, 77%, 55%)
CMYKcmyk(0%, 4.3%, 77%, 45.5%)
CIE-LABlab(54.42, -9.65, 51.41)
CIE-LCHlch(54.42, 52.31, 100.63°)
OKLaboklab(60.37% -0.0321 0.1127)
OKLCHoklch(60.37% 0.117 105.9)
XYZxyz(19.2965, 22.3690, 4.6674)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8520 #20268B
analogous
#8B4F20 #8B8520 #5B8B20
triadic
#8B8520 #208B85 #85208B
tetradic
#8B8520 #208B4F #20268B #8B205B
square
#8B8520 #208B4F #20268B #8B205B
split-complementary
#8B8520 #205B8B #4F208B
monochromatic
#282609 #595515 #8B8520 #BDB52B #D6CF4F

Accessibility & contrast

On white

3.84
#8B8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8B8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8520
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8520#FFFFFF#000000##000000
##8B85201.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8520;
/* rgb */ color: rgb(139, 133, 32);
/* oklch */ color: oklch(60.4% 0.117 105.9);
Tailwind
colors: {
  custom: {
    50: '#b0a864',
    500: '#8b8520',
    950: '#000000',
  },
}
SCSS
$custom: #8b8520;
$custom-light: #b0a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8520",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 56.636,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.11723,
    "h": 105.9
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#8B8520
secondary
#4D53BA
accent
#4BE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8520

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

Preview Lab → · Contrast checker → · Palette generator →

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