#8B861F#8B861F

#8B861F is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.119 H 106.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B861F
RGBrgb(139, 134, 31)
HSLhsl(57, 64%, 33%)
HSVhsv(57, 78%, 55%)
CMYKcmyk(0%, 3.6%, 77.7%, 45.5%)
CIE-LABlab(54.70, -10.24, 52.02)
CIE-LCHlch(54.70, 53.02, 101.13°)
OKLaboklab(60.6% -0.0339 0.1138)
OKLCHoklch(60.6% 0.119 106.6)
XYZxyz(19.4207, 22.6388, 4.6428)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B861F #1F248B
analogous
#8B501F #8B861F #5A8B1F
triadic
#8B861F #1F8B86 #861F8B
tetradic
#8B861F #1F8B50 #1F248B #8B1F5A
square
#8B861F #1F8B50 #1F248B #8B1F5A
split-complementary
#8B861F #1F5A8B #501F8B
monochromatic
#272609 #595614 #8B861F #BDB62A #D7D14D

Accessibility & contrast

On white

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

On black

5.53
#8B861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B861F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B861F#FFFFFF#000000##000000
##8B861F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b861f;
/* rgb */ color: rgb(139, 134, 31);
/* oklch */ color: oklch(60.6% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#b0a864',
    500: '#8b861f',
    950: '#000000',
  },
}
SCSS
$custom: #8b861f;
$custom-light: #b0a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8b861f",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 57.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.11878,
    "h": 106.6
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#8B861F
secondary
#4C51BA
accent
#49E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B861F

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

Preview Lab → · Contrast checker → · Palette generator →

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