#8B811F#8B811F

#8B811F is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.114 H 103.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8B811F
RGBrgb(139, 129, 31)
HSLhsl(54, 64%, 33%)
HSVhsv(54, 78%, 55%)
CMYKcmyk(0%, 7.2%, 77.7%, 45.5%)
CIE-LABlab(53.26, -7.51, 50.70)
CIE-LCHlch(53.26, 51.25, 98.43°)
OKLaboklab(59.45% -0.0262 0.111)
OKLCHoklch(59.45% 0.114 103.3)
XYZxyz(18.7459, 21.2892, 4.4179)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B811F #1F298B
analogous
#8B4B1F #8B811F #5F8B1F
triadic
#8B811F #1F8B81 #811F8B
tetradic
#8B811F #1F8B4B #1F298B #8B1F5F
square
#8B811F #1F8B4B #1F298B #8B1F5F
split-complementary
#8B811F #1F5F8B #4B1F8B
monochromatic
#272409 #595314 #8B811F #BDAF2A #D7CB4D

Accessibility & contrast

On white

3.99
#8B811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8B811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B811F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B811F#FFFFFF#000000##000000
##8B811F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b811f;
/* rgb */ color: rgb(139, 129, 31);
/* oklch */ color: oklch(59.5% 0.114 103.3);
Tailwind
colors: {
  custom: {
    50: '#b0a563',
    500: '#8b811f',
    950: '#000000',
  },
}
SCSS
$custom: #8b811f;
$custom-light: #b0a563;
$custom-dark: #000000;
JSON
{
  "hex": "#8b811f",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 54.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.11408,
    "h": 103.3
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#8B811F
secondary
#4C56BA
accent
#51E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B811F

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

Preview Lab → · Contrast checker → · Palette generator →

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