#8B841E#8B841E

#8B841E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.1% C 0.117 H 105.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B841E
RGBrgb(139, 132, 30)
HSLhsl(56, 64%, 33%)
HSVhsv(56, 78%, 55%)
CMYKcmyk(0%, 5%, 78.4%, 45.5%)
CIE-LABlab(54.12, -9.19, 51.83)
CIE-LCHlch(54.12, 52.64, 100.06°)
OKLaboklab(60.13% -0.0311 0.1132)
OKLCHoklch(60.13% 0.117 105.3)
XYZxyz(19.1339, 22.0860, 4.4832)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B841E #1E258B
analogous
#8B4D1E #8B841E #5B8B1E
triadic
#8B841E #1E8B84 #841E8B
tetradic
#8B841E #1E8B4D #1E258B #8B1E5B
square
#8B841E #1E8B4D #1E258B #8B1E5B
split-complementary
#8B841E #1E5B8B #4D1E8B
monochromatic
#262408 #595413 #8B841E #BDB429 #D8CF4B

Accessibility & contrast

On white

3.88
#8B841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8B841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B841E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B841E#FFFFFF#000000##000000
##8B841E1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#938326
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b841e;
/* rgb */ color: rgb(139, 132, 30);
/* oklch */ color: oklch(60.1% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#b0a763',
    500: '#8b841e',
    950: '#000000',
  },
}
SCSS
$custom: #8b841e;
$custom-light: #b0a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8b841e",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 56.147,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.11742,
    "h": 105.3
  },
  "luminance": 0.22085
}

Semantic roles & 50–950 ramp

primary
#8B841E
secondary
#4A51BB
accent
#4BE740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B841E

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

Preview Lab → · Contrast checker → · Palette generator →

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