#8B9524#8B9524

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

Color values

HEX#8B9524
RGBrgb(139, 149, 36)
HSLhsl(65, 61%, 36%)
HSVhsv(65, 76%, 58%)
CMYKcmyk(6.7%, 0%, 75.8%, 41.6%)
CIE-LABlab(59.08, -17.95, 54.37)
CIE-LCHlch(59.08, 57.26, 108.27°)
OKLaboklab(64.11% -0.0549 0.1198)
OKLCHoklch(64.11% 0.132 114.6)
XYZxyz(21.7140, 27.1116, 5.7579)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9524 #2E2495
analogous
#956724 #8B9524 #539524
triadic
#8B9524 #248B95 #95248B
tetradic
#8B9524 #249567 #2E2495 #952453
square
#8B9524 #249567 #2E2495 #952453
split-complementary
#8B9524 #245395 #672495
monochromatic
#2F320C #5D6418 #8B9524 #B9C630 #CDD85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B9524#FFFFFF#000000##000000
##8B95241.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)
#A08D0A
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#948C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b9524;
/* rgb */ color: rgb(139, 149, 36);
/* oklch */ color: oklch(64.1% 0.132 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b468',
    500: '#8b9524',
    950: '#000000',
  },
}
SCSS
$custom: #8b9524;
$custom-light: #b0b468;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9524",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 65.31,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64107,
    "c": 0.13177,
    "h": 114.6
  },
  "luminance": 0.27111
}

Semantic roles & 50–950 ramp

primary
#8B9524
secondary
#6159BC
accent
#44E452
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9524

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

Preview Lab → · Contrast checker → · Palette generator →

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