#8B8530#8B8530

#8B8530 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.106 H 105.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8B8530
RGBrgb(139, 133, 48)
HSLhsl(56, 49%, 37%)
HSVhsv(56, 65%, 55%)
CMYKcmyk(0%, 4.3%, 65.5%, 45.5%)
CIE-LABlab(54.53, -8.77, 45.06)
CIE-LCHlch(54.53, 45.91, 101.01°)
OKLaboklab(60.5% -0.0279 0.1022)
OKLCHoklch(60.5% 0.106 105.3)
XYZxyz(19.5692, 22.4781, 6.1036)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8530 #30368B
analogous
#8B5830 #8B8530 #648B30
triadic
#8B8530 #308B85 #85308B
tetradic
#8B8530 #308B58 #30368B #8B3064
square
#8B8530 #308B58 #30368B #8B3064
split-complementary
#8B8530 #30648B #58308B
monochromatic
#302E11 #5E5920 #8B8530 #B8B140 #CCC56A

Accessibility & contrast

On white

3.82
#8B8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8B8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8530
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8530#FFFFFF#000000##000000
##8B85301.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#938435
Tritanopia (blue-blind)
#957C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8530;
/* rgb */ color: rgb(139, 133, 48);
/* oklch */ color: oklch(60.5% 0.106 105.3);
Tailwind
colors: {
  custom: {
    50: '#afa86d',
    500: '#8b8530',
    950: '#000000',
  },
}
SCSS
$custom: #8b8530;
$custom-light: #afa86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8530",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 56.044,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.10597,
    "h": 105.3
  },
  "luminance": 0.22477
}

Semantic roles & 50–950 ramp

primary
#8B8530
secondary
#6469B3
accent
#59D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8530

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

Preview Lab → · Contrast checker → · Palette generator →

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