#8B841A#8B841A

#8B841A is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.1% C 0.120 H 105.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8B841A
RGBrgb(139, 132, 26)
HSLhsl(56, 68%, 32%)
HSVhsv(56, 81%, 55%)
CMYKcmyk(0%, 5%, 81.3%, 45.5%)
CIE-LABlab(54.10, -9.35, 53.12)
CIE-LCHlch(54.10, 53.93, 99.99°)
OKLaboklab(60.11% -0.0319 0.1152)
OKLCHoklch(60.11% 0.12 105.5)
XYZxyz(19.0860, 22.0668, 4.2311)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B841A #1A218B
analogous
#8B4B1A #8B841A #5A8B1A
triadic
#8B841A #1A8B84 #841A8B
tetradic
#8B841A #1A8B4B #1A218B #8B1A5A
square
#8B841A #1A8B4B #1A218B #8B1A5A
split-complementary
#8B841A #1A5A8B #4B1A8B
monochromatic
#242207 #575310 #8B841A #BFB524 #DCD243

Accessibility & contrast

On white

3.88
#8B841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8B841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B841A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B841A#FFFFFF#000000##000000
##8B841A1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#967A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b841a;
/* rgb */ color: rgb(139, 132, 26);
/* oklch */ color: oklch(60.1% 0.120 105.5);
Tailwind
colors: {
  custom: {
    50: '#b0a761',
    500: '#8b841a',
    950: '#000000',
  },
}
SCSS
$custom: #8b841a;
$custom-light: #b0a761;
$custom-dark: #000000;
JSON
{
  "hex": "#8b841a",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 56.283,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60109,
    "c": 0.11951,
    "h": 105.5
  },
  "luminance": 0.22066
}

Semantic roles & 50–950 ramp

primary
#8B841A
secondary
#444BBD
accent
#47EB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B841A

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

Preview Lab → · Contrast checker → · Palette generator →

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