#8B861B#8B861B

#8B861B is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.121 H 106.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8B861B
RGBrgb(139, 134, 27)
HSLhsl(57, 67%, 33%)
HSVhsv(57, 81%, 55%)
CMYKcmyk(0%, 3.6%, 80.6%, 45.5%)
CIE-LABlab(54.68, -10.40, 53.32)
CIE-LCHlch(54.68, 54.32, 101.04°)
OKLaboklab(60.57% -0.0347 0.1158)
OKLCHoklch(60.57% 0.121 106.7)
XYZxyz(19.3712, 22.6190, 4.3822)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B861B #1B208B
analogous
#8B4E1B #8B861B #588B1B
triadic
#8B861B #1B8B86 #861B8B
tetradic
#8B861B #1B8B4E #1B208B #8B1B58
square
#8B861B #1B8B4E #1B208B #8B1B58
split-complementary
#8B861B #1B588B #4E1B8B
monochromatic
#252307 #585511 #8B861B #BEB725 #DBD445

Accessibility & contrast

On white

3.80
#8B861B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8B861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B861B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B861B#FFFFFF#000000##000000
##8B861B1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b861b;
/* rgb */ color: rgb(139, 134, 27);
/* oklch */ color: oklch(60.6% 0.121 106.7);
Tailwind
colors: {
  custom: {
    50: '#b0a862',
    500: '#8b861b',
    950: '#000000',
  },
}
SCSS
$custom: #8b861b;
$custom-light: #b0a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8b861b",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 57.321,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.12091,
    "h": 106.7
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#8B861B
secondary
#454BBC
accent
#45EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B861B

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

Preview Lab → · Contrast checker → · Palette generator →

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