#8B862A#8B862A

#8B862A is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.112 H 106.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8B862A
RGBrgb(139, 134, 42)
HSLhsl(57, 54%, 35%)
HSVhsv(57, 70%, 55%)
CMYKcmyk(0%, 3.6%, 69.8%, 45.5%)
CIE-LABlab(54.77, -9.68, 47.90)
CIE-LCHlch(54.77, 48.87, 101.43°)
OKLaboklab(60.68% -0.0312 0.1072)
OKLCHoklch(60.68% 0.112 106.2)
XYZxyz(19.5912, 22.7070, 5.5410)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B862A #2A2F8B
analogous
#8B552A #8B862A #5F8B2A
triadic
#8B862A #2A8B86 #862A8B
tetradic
#8B862A #2A8B55 #2A2F8B #8B2A5F
square
#8B862A #2A8B55 #2A2F8B #8B2A5F
split-complementary
#8B862A #2A5F8B #552A8B
monochromatic
#2D2B0E #5C591C #8B862A #BAB338 #CFC960

Accessibility & contrast

On white

3.79
#8B862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8B862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B862A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B862A#FFFFFF#000000##000000
##8B862A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811C
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#957D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b862a;
/* rgb */ color: rgb(139, 134, 42);
/* oklch */ color: oklch(60.7% 0.112 106.2);
Tailwind
colors: {
  custom: {
    50: '#b0a969',
    500: '#8b862a',
    950: '#000000',
  },
}
SCSS
$custom: #8b862a;
$custom-light: #b0a969;
$custom-dark: #000000;
JSON
{
  "hex": "#8b862a",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 56.907,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.11166,
    "h": 106.2
  },
  "luminance": 0.22706
}

Semantic roles & 50–950 ramp

primary
#8B862A
secondary
#5C60B5
accent
#52DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B862A

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

Preview Lab → · Contrast checker → · Palette generator →

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