#8B8427#8B8427

#8B8427 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.112 H 105.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8B8427
RGBrgb(139, 132, 39)
HSLhsl(56, 56%, 35%)
HSVhsv(56, 72%, 55%)
CMYKcmyk(0%, 5%, 71.9%, 45.5%)
CIE-LABlab(54.17, -8.76, 48.53)
CIE-LCHlch(54.17, 49.32, 100.24°)
OKLaboklab(60.19% -0.0289 0.108)
OKLCHoklch(60.19% 0.112 105)
XYZxyz(19.2657, 22.1387, 5.1774)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8427 #272E8B
analogous
#8B5227 #8B8427 #608B27
triadic
#8B8427 #278B84 #84278B
tetradic
#8B8427 #278B52 #272E8B #8B2760
square
#8B8427 #278B52 #272E8B #8B2760
split-complementary
#8B8427 #27608B #52278B
monochromatic
#2B290C #5B571A #8B8427 #BBB134 #D1C95B

Accessibility & contrast

On white

3.87
#8B8427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8B8427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8427
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8427#FFFFFF#000000##000000
##8B84271.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F18
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#967B72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b8427;
/* rgb */ color: rgb(139, 132, 39);
/* oklch */ color: oklch(60.2% 0.112 105.0);
Tailwind
colors: {
  custom: {
    50: '#b0a768',
    500: '#8b8427',
    950: '#000000',
  },
}
SCSS
$custom: #8b8427;
$custom-light: #b0a768;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8427",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 55.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.1118,
    "h": 105
  },
  "luminance": 0.22138
}

Semantic roles & 50–950 ramp

primary
#8B8427
secondary
#585EB6
accent
#53DF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8427

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

Preview Lab → · Contrast checker → · Palette generator →

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