#8B9528#8B9528

#8B9528 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.129 H 114.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8B9528
RGBrgb(139, 149, 40)
HSLhsl(66, 58%, 37%)
HSVhsv(66, 73%, 58%)
CMYKcmyk(6.7%, 0%, 73.2%, 41.6%)
CIE-LABlab(59.10, -17.75, 52.97)
CIE-LCHlch(59.10, 55.86, 108.53°)
OKLaboklab(64.13% -0.054 0.1175)
OKLCHoklch(64.13% 0.129 114.7)
XYZxyz(21.7785, 27.1375, 6.0979)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9528 #322895
analogous
#956928 #8B9528 #549528
triadic
#8B9528 #288B95 #95288B
tetradic
#8B9528 #289569 #322895 #952854
square
#8B9528 #289569 #322895 #952854
split-complementary
#8B9528 #285495 #692895
monochromatic
#31350E #5E651B #8B9528 #B8C535 #CAD562

Accessibility & contrast

On white

3.27
#8B9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8B9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9528
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9528#FFFFFF#000000##000000
##8B95281.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D14
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#948C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b9528;
/* rgb */ color: rgb(139, 149, 40);
/* oklch */ color: oklch(64.1% 0.129 114.7);
Tailwind
colors: {
  custom: {
    50: '#b0b46a',
    500: '#8b9528',
    950: '#000000',
  },
}
SCSS
$custom: #8b9528;
$custom-light: #b0b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9528",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 65.505,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64134,
    "c": 0.12934,
    "h": 114.7
  },
  "luminance": 0.27137
}

Semantic roles & 50–950 ramp

primary
#8B9528
secondary
#675EBB
accent
#47E155
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9528

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

Preview Lab → · Contrast checker → · Palette generator →

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