#8B8422#8B8422

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

Color values

HEX#8B8422
RGBrgb(139, 132, 34)
HSLhsl(56, 61%, 34%)
HSVhsv(56, 76%, 55%)
CMYKcmyk(0%, 5%, 75.5%, 45.5%)
CIE-LABlab(54.14, -9.02, 50.43)
CIE-LCHlch(54.14, 51.23, 100.14°)
OKLaboklab(60.16% -0.0302 0.1111)
OKLCHoklch(60.16% 0.115 105.2)
XYZxyz(19.1883, 22.1077, 4.7695)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8422 #22298B
analogous
#8B5022 #8B8422 #5E8B22
triadic
#8B8422 #228B84 #84228B
tetradic
#8B8422 #228B50 #22298B #8B225E
square
#8B8422 #228B50 #22298B #8B225E
split-complementary
#8B8422 #225E8B #50228B
monochromatic
#29270A #5A5516 #8B8422 #BCB32E #D5CC53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8422#FFFFFF#000000##000000
##8B84221.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)
#907F0F
Deuteranopia (green-blind)
#938329
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8422;
/* rgb */ color: rgb(139, 132, 34);
/* oklch */ color: oklch(60.2% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#b0a765',
    500: '#8b8422',
    950: '#000000',
  },
}
SCSS
$custom: #8b8422;
$custom-light: #b0a765;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8422",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 56,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.11508,
    "h": 105.2
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#8B8422
secondary
#5057B8
accent
#4FE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8422

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

Preview Lab → · Contrast checker → · Palette generator →

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