#8B8529#8B8529

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

Color values

HEX#8B8529
RGBrgb(139, 133, 41)
HSLhsl(56, 54%, 35%)
HSVhsv(56, 71%, 55%)
CMYKcmyk(0%, 4.3%, 70.5%, 45.5%)
CIE-LABlab(54.47, -9.20, 48.02)
CIE-LCHlch(54.47, 48.89, 100.84°)
OKLaboklab(60.44% -0.0299 0.1073)
OKLCHoklch(60.44% 0.111 105.6)
XYZxyz(19.4360, 22.4248, 5.4020)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8529 #292F8B
analogous
#8B5429 #8B8529 #608B29
triadic
#8B8529 #298B85 #85298B
tetradic
#8B8529 #298B54 #292F8B #8B2960
square
#8B8529 #298B54 #292F8B #8B2960
split-complementary
#8B8529 #29608B #54298B
monochromatic
#2C2B0D #5C581B #8B8529 #BAB237 #D0C95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8529#FFFFFF#000000##000000
##8B85291.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)
#91801B
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#957C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8529;
/* rgb */ color: rgb(139, 133, 41);
/* oklch */ color: oklch(60.4% 0.111 105.6);
Tailwind
colors: {
  custom: {
    50: '#b0a869',
    500: '#8b8529',
    950: '#000000',
  },
}
SCSS
$custom: #8b8529;
$custom-light: #b0a869;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8529",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 56.327,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.11137,
    "h": 105.6
  },
  "luminance": 0.22424
}

Semantic roles & 50–950 ramp

primary
#8B8529
secondary
#5B60B5
accent
#53DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8529

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

Preview Lab → · Contrast checker → · Palette generator →

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