#8B862B#8B862B

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

Color values

HEX#8B862B
RGBrgb(139, 134, 43)
HSLhsl(57, 53%, 36%)
HSVhsv(57, 69%, 55%)
CMYKcmyk(0%, 3.6%, 69.1%, 45.5%)
CIE-LABlab(54.78, -9.63, 47.49)
CIE-LCHlch(54.78, 48.46, 101.46°)
OKLaboklab(60.68% -0.0309 0.1065)
OKLCHoklch(60.68% 0.111 106.2)
XYZxyz(19.6093, 22.7143, 5.6364)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B862B #2B308B
analogous
#8B562B #8B862B #608B2B
triadic
#8B862B #2B8B86 #862B8B
tetradic
#8B862B #2B8B56 #2B308B #8B2B60
square
#8B862B #2B8B56 #2B308B #8B2B60
split-complementary
#8B862B #2B608B #562B8B
monochromatic
#2E2C0E #5C591D #8B862B #BAB339 #CEC962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B862B#FFFFFF#000000##000000
##8B862B1.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)
#92811E
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#957D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b862b;
/* rgb */ color: rgb(139, 134, 43);
/* oklch */ color: oklch(60.7% 0.111 106.2);
Tailwind
colors: {
  custom: {
    50: '#b0a96a',
    500: '#8b862b',
    950: '#000000',
  },
}
SCSS
$custom: #8b862b;
$custom-light: #b0a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b862b",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 56.875,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.11092,
    "h": 106.2
  },
  "luminance": 0.22714
}

Semantic roles & 50–950 ramp

primary
#8B862B
secondary
#5D62B5
accent
#53DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B862B

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

Preview Lab → · Contrast checker → · Palette generator →

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