#8B862C#8B862C

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

Color values

HEX#8B862C
RGBrgb(139, 134, 44)
HSLhsl(57, 52%, 36%)
HSVhsv(57, 68%, 55%)
CMYKcmyk(0%, 3.6%, 68.3%, 45.5%)
CIE-LABlab(54.78, -9.57, 47.08)
CIE-LCHlch(54.78, 48.04, 101.49°)
OKLaboklab(60.69% -0.0306 0.1058)
OKLCHoklch(60.69% 0.11 106.1)
XYZxyz(19.6279, 22.7217, 5.7342)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B862C #2C318B
analogous
#8B562C #8B862C #608B2C
triadic
#8B862C #2C8B86 #862C8B
tetradic
#8B862C #2C8B56 #2C318B #8B2C60
square
#8B862C #2C8B56 #2C318B #8B2C60
split-complementary
#8B862C #2C608B #562C8B
monochromatic
#2E2C0F #5D591D #8B862C #B9B33B #CEC864

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B862C#FFFFFF#000000##000000
##8B862C1.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)
#91811F
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#957D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b862c;
/* rgb */ color: rgb(139, 134, 44);
/* oklch */ color: oklch(60.7% 0.110 106.1);
Tailwind
colors: {
  custom: {
    50: '#b0a96a',
    500: '#8b862c',
    950: '#000000',
  },
}
SCSS
$custom: #8b862c;
$custom-light: #b0a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b862c",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 56.842,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60692,
    "c": 0.11017,
    "h": 106.1
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#8B862C
secondary
#5F63B4
accent
#54DB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B862C

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

Preview Lab → · Contrast checker → · Palette generator →

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