#8B9327#8B9327

#8B9327 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.128 H 113.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8B9327
RGBrgb(139, 147, 39)
HSLhsl(64, 58%, 36%)
HSVhsv(64, 73%, 58%)
CMYKcmyk(5.4%, 0%, 73.5%, 42.4%)
CIE-LABlab(58.51, -16.77, 52.77)
CIE-LCHlch(58.51, 55.36, 107.63°)
OKLaboklab(63.66% -0.0513 0.1169)
OKLCHoklch(63.66% 0.128 113.7)
XYZxyz(21.4480, 26.5033, 5.9049)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9327 #2F2793
analogous
#936527 #8B9327 #559327
triadic
#8B9327 #278B93 #93278B
tetradic
#8B9327 #279365 #2F2793 #932755
square
#8B9327 #279365 #2F2793 #932755
split-complementary
#8B9327 #275593 #652793
monochromatic
#30320D #5D631A #8B9327 #B9C334 #CCD560

Accessibility & contrast

On white

3.33
#8B9327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8B9327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9327
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9327#FFFFFF#000000##000000
##8B93271.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C13
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#948A7E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b9327;
/* rgb */ color: rgb(139, 147, 39);
/* oklch */ color: oklch(63.7% 0.128 113.7);
Tailwind
colors: {
  custom: {
    50: '#b0b269',
    500: '#8b9327',
    950: '#000000',
  },
}
SCSS
$custom: #8b9327;
$custom-light: #b0b269;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9327",
  "rgb": {
    "r": 139,
    "g": 147,
    "b": 39
  },
  "hsl": {
    "h": 64.444,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63659,
    "c": 0.12771,
    "h": 113.7
  },
  "luminance": 0.26503
}

Semantic roles & 50–950 ramp

primary
#8B9327
secondary
#635CBA
accent
#47E152
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B9327

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

Preview Lab → · Contrast checker → · Palette generator →

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