#8B8424#8B8424

#8B8424 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.114 H 105.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B8424
RGBrgb(139, 132, 36)
HSLhsl(56, 59%, 34%)
HSVhsv(56, 74%, 55%)
CMYKcmyk(0%, 5%, 74.1%, 45.5%)
CIE-LABlab(54.15, -8.92, 49.69)
CIE-LCHlch(54.15, 50.48, 100.18°)
OKLaboklab(60.17% -0.0297 0.1099)
OKLCHoklch(60.17% 0.114 105.1)
XYZxyz(19.2180, 22.1196, 4.9259)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8424 #242B8B
analogous
#8B5124 #8B8424 #5F8B24
triadic
#8B8424 #248B84 #84248B
tetradic
#8B8424 #248B51 #242B8B #8B245F
square
#8B8424 #248B51 #242B8B #8B245F
split-complementary
#8B8424 #245F8B #51248B
monochromatic
#2A280B #5A5617 #8B8424 #BCB231 #D3CB56

Accessibility & contrast

On white

3.87
#8B8424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8B8424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8424
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8424#FFFFFF#000000##000000
##8B84241.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8424;
/* rgb */ color: rgb(139, 132, 36);
/* oklch */ color: oklch(60.2% 0.114 105.1);
Tailwind
colors: {
  custom: {
    50: '#b0a766',
    500: '#8b8424',
    950: '#000000',
  },
}
SCSS
$custom: #8b8424;
$custom-light: #b0a766;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8424",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 55.922,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.11381,
    "h": 105.1
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#8B8424
secondary
#535AB7
accent
#50E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8424

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

Preview Lab → · Contrast checker → · Palette generator →

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