#8B8524#8B8524

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

Color values

HEX#8B8524
RGBrgb(139, 133, 36)
HSLhsl(57, 59%, 34%)
HSVhsv(57, 74%, 55%)
CMYKcmyk(0%, 4.3%, 74.1%, 45.5%)
CIE-LABlab(54.44, -9.46, 49.97)
CIE-LCHlch(54.44, 50.86, 100.73°)
OKLaboklab(60.4% -0.0312 0.1105)
OKLCHoklch(60.4% 0.115 105.8)
XYZxyz(19.3542, 22.3921, 4.9713)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8524 #242A8B
analogous
#8B5224 #8B8524 #5E8B24
triadic
#8B8524 #248B85 #85248B
tetradic
#8B8524 #248B52 #242A8B #8B245E
square
#8B8524 #248B52 #242A8B #8B245E
split-complementary
#8B8524 #245E8B #52248B
monochromatic
#2A280B #5A5617 #8B8524 #BCB431 #D3CC56

Accessibility & contrast

On white

3.83
#8B8524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8B8524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8524
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8524#FFFFFF#000000##000000
##8B85241.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918012
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8524;
/* rgb */ color: rgb(139, 133, 36);
/* oklch */ color: oklch(60.4% 0.115 105.8);
Tailwind
colors: {
  custom: {
    50: '#b0a866',
    500: '#8b8524',
    950: '#000000',
  },
}
SCSS
$custom: #8b8524;
$custom-light: #b0a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8524",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 56.505,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.604,
    "c": 0.11479,
    "h": 105.8
  },
  "luminance": 0.22391
}

Semantic roles & 50–950 ramp

primary
#8B8524
secondary
#5359B7
accent
#4FE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8524

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

Preview Lab → · Contrast checker → · Palette generator →

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