#8B8327#8B8327

#8B8327 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.111 H 104.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B8327
RGBrgb(139, 131, 39)
HSLhsl(55, 56%, 35%)
HSVhsv(55, 72%, 55%)
CMYKcmyk(0%, 5.8%, 71.9%, 45.5%)
CIE-LABlab(53.89, -8.22, 48.25)
CIE-LCHlch(53.89, 48.94, 99.66°)
OKLaboklab(59.97% -0.0274 0.1074)
OKLCHoklch(59.97% 0.111 104.3)
XYZxyz(19.1308, 21.8688, 5.1325)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8327 #272F8B
analogous
#8B5127 #8B8327 #618B27
triadic
#8B8327 #278B83 #83278B
tetradic
#8B8327 #278B51 #272F8B #8B2761
square
#8B8327 #278B51 #272F8B #8B2761
split-complementary
#8B8327 #27618B #51278B
monochromatic
#2B290C #5B561A #8B8327 #BBB034 #D1C85B

Accessibility & contrast

On white

3.91
#8B8327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8B8327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8327
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8327#FFFFFF#000000##000000
##8B83271.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E18
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#967A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8327;
/* rgb */ color: rgb(139, 131, 39);
/* oklch */ color: oklch(60.0% 0.111 104.3);
Tailwind
colors: {
  custom: {
    50: '#b0a667',
    500: '#8b8327',
    950: '#000000',
  },
}
SCSS
$custom: #8b8327;
$custom-light: #b0a667;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8327",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 55.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.11083,
    "h": 104.3
  },
  "luminance": 0.21868
}

Semantic roles & 50–950 ramp

primary
#8B8327
secondary
#585FB6
accent
#54DF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8327

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

Preview Lab → · Contrast checker → · Palette generator →

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