#8B811A#8B811A

#8B811A is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.117 H 103.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8B811A
RGBrgb(139, 129, 26)
HSLhsl(55, 68%, 32%)
HSVhsv(55, 81%, 55%)
CMYKcmyk(0%, 7.2%, 81.3%, 45.5%)
CIE-LABlab(53.24, -7.71, 52.35)
CIE-LCHlch(53.24, 52.92, 98.38°)
OKLaboklab(59.43% -0.0273 0.1136)
OKLCHoklch(59.43% 0.117 103.5)
XYZxyz(18.6850, 21.2649, 4.0974)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B811A #1A248B
analogous
#8B481A #8B811A #5D8B1A
triadic
#8B811A #1A8B81 #811A8B
tetradic
#8B811A #1A8B48 #1A248B #8B1A5D
square
#8B811A #1A8B48 #1A248B #8B1A5D
split-complementary
#8B811A #1A5D8B #481A8B
monochromatic
#242107 #575110 #8B811A #BFB124 #DCCE43

Accessibility & contrast

On white

4.00
#8B811A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8B811A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B811A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B811A#FFFFFF#000000##000000
##8B811A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#96776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b811a;
/* rgb */ color: rgb(139, 129, 26);
/* oklch */ color: oklch(59.4% 0.117 103.5);
Tailwind
colors: {
  custom: {
    50: '#b1a561',
    500: '#8b811a',
    950: '#000000',
  },
}
SCSS
$custom: #8b811a;
$custom-light: #b1a561;
$custom-dark: #000000;
JSON
{
  "hex": "#8b811a",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 54.69,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.11678,
    "h": 103.5
  },
  "luminance": 0.21264
}

Semantic roles & 50–950 ramp

primary
#8B811A
secondary
#444EBD
accent
#4CEB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B811A

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

Preview Lab → · Contrast checker → · Palette generator →

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