#8B9526#8B9526

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

Color values

HEX#8B9526
RGBrgb(139, 149, 38)
HSLhsl(65, 59%, 37%)
HSVhsv(65, 74%, 58%)
CMYKcmyk(6.7%, 0%, 74.5%, 41.6%)
CIE-LABlab(59.09, -17.85, 53.68)
CIE-LCHlch(59.09, 56.57, 108.40°)
OKLaboklab(64.12% -0.0545 0.1187)
OKLCHoklch(64.12% 0.131 114.6)
XYZxyz(21.7454, 27.1242, 5.9233)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9526 #302695
analogous
#956826 #8B9526 #549526
triadic
#8B9526 #268B95 #95268B
tetradic
#8B9526 #269568 #302695 #952654
square
#8B9526 #269568 #302695 #952654
split-complementary
#8B9526 #265495 #682695
monochromatic
#30330D #5E641A #8B9526 #B8C632 #CCD65F

Accessibility & contrast

On white

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

On black

6.42
#8B9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9526
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9526#FFFFFF#000000##000000
##8B95261.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b9526;
/* rgb */ color: rgb(139, 149, 38);
/* oklch */ color: oklch(64.1% 0.131 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b469',
    500: '#8b9526',
    950: '#000000',
  },
}
SCSS
$custom: #8b9526;
$custom-light: #b0b469;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9526",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 65.405,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6412,
    "c": 0.13058,
    "h": 114.6
  },
  "luminance": 0.27124
}

Semantic roles & 50–950 ramp

primary
#8B9526
secondary
#645BBB
accent
#45E353
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9526

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

Preview Lab → · Contrast checker → · Palette generator →

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