#8B891B#8B891B

#8B891B 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#8B891B
RGBrgb(139, 137, 27)
HSLhsl(59, 67%, 33%)
HSVhsv(59, 81%, 55%)
CMYKcmyk(0%, 1.4%, 80.6%, 45.5%)
CIE-LABlab(55.54, -12.02, 54.09)
CIE-LCHlch(55.54, 55.41, 102.53°)
OKLaboklab(61.26% -0.0392 0.1175)
OKLCHoklch(61.26% 0.124 108.5)
XYZxyz(19.7917, 23.4601, 4.5224)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B891B #1B1D8B
analogous
#8B511B #8B891B #558B1B
triadic
#8B891B #1B8B89 #891B8B
tetradic
#8B891B #1B8B51 #1B1D8B #8B1B55
square
#8B891B #1B8B51 #1B1D8B #8B1B55
split-complementary
#8B891B #1B558B #511B8B
monochromatic
#252407 #585611 #8B891B #BEBC25 #DBD845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B891B#FFFFFF#000000##000000
##8B891B1.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)
#978725
Tritanopia (blue-blind)
#968075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b891b;
/* rgb */ color: rgb(139, 137, 27);
/* oklch */ color: oklch(61.3% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#b0ab62',
    500: '#8b891b',
    950: '#000000',
  },
}
SCSS
$custom: #8b891b;
$custom-light: #b0ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b891b",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 58.929,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.12384,
    "h": 108.5
  },
  "luminance": 0.23459
}

Semantic roles & 50–950 ramp

primary
#8B891B
secondary
#4547BC
accent
#41EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B891B

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

Preview Lab → · Contrast checker → · Palette generator →

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