#8B861C#8B861C

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

Color values

HEX#8B861C
RGBrgb(139, 134, 28)
HSLhsl(57, 66%, 33%)
HSVhsv(57, 80%, 55%)
CMYKcmyk(0%, 3.6%, 79.9%, 45.5%)
CIE-LABlab(54.68, -10.36, 53.01)
CIE-LCHlch(54.68, 54.01, 101.06°)
OKLaboklab(60.58% -0.0345 0.1154)
OKLCHoklch(60.58% 0.12 106.7)
XYZxyz(19.3830, 22.6237, 4.4442)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B861C #1C218B
analogous
#8B4E1C #8B861C #598B1C
triadic
#8B861C #1C8B86 #861C8B
tetradic
#8B861C #1C8B4E #1C218B #8B1C59
square
#8B861C #1C8B4E #1C218B #8B1C59
split-complementary
#8B861C #1C598B #4E1C8B
monochromatic
#252407 #585512 #8B861C #BEB726 #DAD347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B861C#FFFFFF#000000##000000
##8B861C1.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)
#948525
Tritanopia (blue-blind)
#967D72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b861c;
/* rgb */ color: rgb(139, 134, 28);
/* oklch */ color: oklch(60.6% 0.120 106.7);
Tailwind
colors: {
  custom: {
    50: '#b0a862',
    500: '#8b861c',
    950: '#000000',
  },
}
SCSS
$custom: #8b861c;
$custom-light: #b0a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8b861c",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 57.297,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.1204,
    "h": 106.7
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#8B861C
secondary
#474CBC
accent
#46E93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B861C

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

Preview Lab → · Contrast checker → · Palette generator →

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