#8B862D#8B862D

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

Color values

HEX#8B862D
RGBrgb(139, 134, 45)
HSLhsl(57, 51%, 36%)
HSVhsv(57, 68%, 55%)
CMYKcmyk(0%, 3.6%, 67.6%, 45.5%)
CIE-LABlab(54.79, -9.51, 46.66)
CIE-LCHlch(54.79, 47.61, 101.52°)
OKLaboklab(60.7% -0.0304 0.1051)
OKLCHoklch(60.7% 0.109 106.1)
XYZxyz(19.6469, 22.7293, 5.8344)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B862D #2D328B
analogous
#8B572D #8B862D #618B2D
triadic
#8B862D #2D8B86 #862D8B
tetradic
#8B862D #2D8B57 #2D328B #8B2D61
square
#8B862D #2D8B57 #2D328B #8B2D61
split-complementary
#8B862D #2D618B #572D8B
monochromatic
#2F2D0F #5D591E #8B862D #B9B33C #CDC865

Accessibility & contrast

On white

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

On black

5.55
#8B862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B862D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B862D#FFFFFF#000000##000000
##8B862D1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#957D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b862d;
/* rgb */ color: rgb(139, 134, 45);
/* oklch */ color: oklch(60.7% 0.109 106.1);
Tailwind
colors: {
  custom: {
    50: '#b0a96b',
    500: '#8b862d',
    950: '#000000',
  },
}
SCSS
$custom: #8b862d;
$custom-light: #b0a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b862d",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 56.809,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60701,
    "c": 0.1094,
    "h": 106.1
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#8B862D
secondary
#6064B4
accent
#55DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B862D

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

Preview Lab → · Contrast checker → · Palette generator →

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