#8B811B#8B811B

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

Color values

HEX#8B811B
RGBrgb(139, 129, 27)
HSLhsl(55, 67%, 33%)
HSVhsv(55, 81%, 55%)
CMYKcmyk(0%, 7.2%, 80.6%, 45.5%)
CIE-LABlab(53.24, -7.67, 52.04)
CIE-LCHlch(53.24, 52.60, 98.39°)
OKLaboklab(59.43% -0.0271 0.1131)
OKLCHoklch(59.43% 0.116 103.5)
XYZxyz(18.6964, 21.2694, 4.1573)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B811B #1B258B
analogous
#8B491B #8B811B #5D8B1B
triadic
#8B811B #1B8B81 #811B8B
tetradic
#8B811B #1B8B49 #1B258B #8B1B5D
square
#8B811B #1B8B49 #1B258B #8B1B5D
split-complementary
#8B811B #1B5D8B #491B8B
monochromatic
#252207 #585111 #8B811B #BEB125 #DBCE45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B811B#FFFFFF#000000##000000
##8B811B1.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)
#918123
Tritanopia (blue-blind)
#96776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b811b;
/* rgb */ color: rgb(139, 129, 27);
/* oklch */ color: oklch(59.4% 0.116 103.5);
Tailwind
colors: {
  custom: {
    50: '#b0a561',
    500: '#8b811b',
    950: '#000000',
  },
}
SCSS
$custom: #8b811b;
$custom-light: #b0a561;
$custom-dark: #000000;
JSON
{
  "hex": "#8b811b",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 54.643,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5943,
    "c": 0.11627,
    "h": 103.5
  },
  "luminance": 0.21269
}

Semantic roles & 50–950 ramp

primary
#8B811B
secondary
#4550BC
accent
#4DEA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B811B

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

Preview Lab → · Contrast checker → · Palette generator →

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