#8B8523#8B8523

#8B8523 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#8B8523
RGBrgb(139, 133, 35)
HSLhsl(57, 60%, 34%)
HSVhsv(57, 75%, 55%)
CMYKcmyk(0%, 4.3%, 74.8%, 45.5%)
CIE-LABlab(54.43, -9.51, 50.34)
CIE-LCHlch(54.43, 51.23, 100.70°)
OKLaboklab(60.39% -0.0315 0.1111)
OKLCHoklch(60.39% 0.115 105.8)
XYZxyz(19.3392, 22.3861, 4.8920)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8523 #23298B
analogous
#8B5123 #8B8523 #5D8B23
triadic
#8B8523 #238B85 #85238B
tetradic
#8B8523 #238B51 #23298B #8B235D
square
#8B8523 #238B51 #23298B #8B235D
split-complementary
#8B8523 #235D8B #51238B
monochromatic
#29270A #5A5617 #8B8523 #BCB42F #D4CD54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8523#FFFFFF#000000##000000
##8B85231.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)
#918011
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8523;
/* rgb */ color: rgb(139, 133, 35);
/* oklch */ color: oklch(60.4% 0.115 105.8);
Tailwind
colors: {
  custom: {
    50: '#b0a866',
    500: '#8b8523',
    950: '#000000',
  },
}
SCSS
$custom: #8b8523;
$custom-light: #b0a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8523",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 56.538,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60393,
    "c": 0.11542,
    "h": 105.8
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#8B8523
secondary
#5258B8
accent
#4EE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8523

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

Preview Lab → · Contrast checker → · Palette generator →

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