#8B891A#8B891A

#8B891A is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.124 H 108.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8B891A
RGBrgb(139, 137, 26)
HSLhsl(59, 68%, 32%)
HSVhsv(59, 81%, 55%)
CMYKcmyk(0%, 1.4%, 81.3%, 45.5%)
CIE-LABlab(55.54, -12.05, 54.39)
CIE-LCHlch(55.54, 55.71, 102.50°)
OKLaboklab(61.26% -0.0394 0.1179)
OKLCHoklch(61.26% 0.124 108.5)
XYZxyz(19.7804, 23.4555, 4.4625)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B891A #1A1C8B
analogous
#8B511A #8B891A #558B1A
triadic
#8B891A #1A8B89 #891A8B
tetradic
#8B891A #1A8B51 #1A1C8B #8B1A55
square
#8B891A #1A8B51 #1A1C8B #8B1A55
split-complementary
#8B891A #1A558B #511A8B
monochromatic
#242307 #575610 #8B891A #BFBC24 #DCD943

Accessibility & contrast

On white

3.69
#8B891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8B891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B891A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B891A#FFFFFF#000000##000000
##8B891A1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#968075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b891a;
/* rgb */ color: rgb(139, 137, 26);
/* oklch */ color: oklch(61.3% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#b0ab62',
    500: '#8b891a',
    950: '#000000',
  },
}
SCSS
$custom: #8b891a;
$custom-light: #b0ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b891a",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 58.938,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61258,
    "c": 0.12432,
    "h": 108.5
  },
  "luminance": 0.23455
}

Semantic roles & 50–950 ramp

primary
#8B891A
secondary
#4446BD
accent
#40EB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B891A

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

Preview Lab → · Contrast checker → · Palette generator →

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