#8B841C#8B841C

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

Color values

HEX#8B841C
RGBrgb(139, 132, 28)
HSLhsl(56, 66%, 33%)
HSVhsv(56, 80%, 55%)
CMYKcmyk(0%, 5%, 79.9%, 45.5%)
CIE-LABlab(54.11, -9.28, 52.49)
CIE-LCHlch(54.11, 53.30, 100.02°)
OKLaboklab(60.12% -0.0315 0.1142)
OKLCHoklch(60.12% 0.119 105.4)
XYZxyz(19.1092, 22.0761, 4.3529)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B841C #1C238B
analogous
#8B4C1C #8B841C #5B8B1C
triadic
#8B841C #1C8B84 #841C8B
tetradic
#8B841C #1C8B4C #1C238B #8B1C5B
square
#8B841C #1C8B4C #1C238B #8B1C5B
split-complementary
#8B841C #1C5B8B #4C1C8B
monochromatic
#252307 #585412 #8B841C #BEB426 #DAD147

Accessibility & contrast

On white

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

On black

5.41
#8B841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B841C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B841C#FFFFFF#000000##000000
##8B841C1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#967A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b841c;
/* rgb */ color: rgb(139, 132, 28);
/* oklch */ color: oklch(60.1% 0.118 105.4);
Tailwind
colors: {
  custom: {
    50: '#b0a762',
    500: '#8b841c',
    950: '#000000',
  },
}
SCSS
$custom: #8b841c;
$custom-light: #b0a762;
$custom-dark: #000000;
JSON
{
  "hex": "#8b841c",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 56.216,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.1185,
    "h": 105.4
  },
  "luminance": 0.22075
}

Semantic roles & 50–950 ramp

primary
#8B841C
secondary
#474EBC
accent
#49E93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B841C

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

Preview Lab → · Contrast checker → · Palette generator →

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