#8B861A#8B861A

#8B861A 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#8B861A
RGBrgb(139, 134, 26)
HSLhsl(57, 68%, 32%)
HSVhsv(57, 81%, 55%)
CMYKcmyk(0%, 3.6%, 81.3%, 45.5%)
CIE-LABlab(54.67, -10.44, 53.62)
CIE-LCHlch(54.67, 54.63, 101.01°)
OKLaboklab(60.57% -0.0349 0.1163)
OKLCHoklch(60.57% 0.121 106.7)
XYZxyz(19.3598, 22.6145, 4.3223)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B861A #1A1F8B
analogous
#8B4D1A #8B861A #588B1A
triadic
#8B861A #1A8B86 #861A8B
tetradic
#8B861A #1A8B4D #1A1F8B #8B1A58
square
#8B861A #1A8B4D #1A1F8B #8B1A58
split-complementary
#8B861A #1A588B #4D1A8B
monochromatic
#242307 #575410 #8B861A #BFB824 #DCD543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B861A#FFFFFF#000000##000000
##8B861A1.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)
#948523
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b861a;
/* rgb */ color: rgb(139, 134, 26);
/* oklch */ color: oklch(60.6% 0.121 106.7);
Tailwind
colors: {
  custom: {
    50: '#b0a862',
    500: '#8b861a',
    950: '#000000',
  },
}
SCSS
$custom: #8b861a;
$custom-light: #b0a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8b861a",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 57.345,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60568,
    "c": 0.1214,
    "h": 106.7
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#8B861A
secondary
#4449BD
accent
#44EB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B861A

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

Preview Lab → · Contrast checker → · Palette generator →

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