#8B8522#8B8522

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

Color values

HEX#8B8522
RGBrgb(139, 133, 34)
HSLhsl(57, 61%, 34%)
HSVhsv(57, 76%, 55%)
CMYKcmyk(0%, 4.3%, 75.5%, 45.5%)
CIE-LABlab(54.43, -9.56, 50.70)
CIE-LCHlch(54.43, 51.60, 100.68°)
OKLaboklab(60.39% -0.0317 0.1116)
OKLCHoklch(60.39% 0.116 105.9)
XYZxyz(19.3245, 22.3802, 4.8150)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8522 #22288B
analogous
#8B5122 #8B8522 #5D8B22
triadic
#8B8522 #228B85 #85228B
tetradic
#8B8522 #228B51 #22288B #8B225D
square
#8B8522 #228B51 #22288B #8B225D
split-complementary
#8B8522 #225D8B #51228B
monochromatic
#29270A #5A5616 #8B8522 #BCB42E #D5CD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8522#FFFFFF#000000##000000
##8B85221.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)
#91800E
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8522;
/* rgb */ color: rgb(139, 133, 34);
/* oklch */ color: oklch(60.4% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#b0a865',
    500: '#8b8522',
    950: '#000000',
  },
}
SCSS
$custom: #8b8522;
$custom-light: #b0a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8522",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 56.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.11604,
    "h": 105.9
  },
  "luminance": 0.2238
}

Semantic roles & 50–950 ramp

primary
#8B8522
secondary
#5056B8
accent
#4DE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8522

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

Preview Lab → · Contrast checker → · Palette generator →

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