#8B811C#8B811C

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

Color values

HEX#8B811C
RGBrgb(139, 129, 28)
HSLhsl(55, 66%, 33%)
HSVhsv(55, 80%, 55%)
CMYKcmyk(0%, 7.2%, 79.9%, 45.5%)
CIE-LABlab(53.25, -7.63, 51.71)
CIE-LCHlch(53.25, 52.27, 98.40°)
OKLaboklab(59.44% -0.0269 0.1126)
OKLCHoklch(59.44% 0.116 103.4)
XYZxyz(18.7082, 21.2741, 4.2193)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B811C #1C268B
analogous
#8B4A1C #8B811C #5D8B1C
triadic
#8B811C #1C8B81 #811C8B
tetradic
#8B811C #1C8B4A #1C268B #8B1C5D
square
#8B811C #1C8B4A #1C268B #8B1C5D
split-complementary
#8B811C #1C5D8B #4A1C8B
monochromatic
#252207 #585212 #8B811C #BEB026 #DACD47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B811C#FFFFFF#000000##000000
##8B811C1.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)
#8D7D02
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#96776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b811c;
/* rgb */ color: rgb(139, 129, 28);
/* oklch */ color: oklch(59.4% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#b0a562',
    500: '#8b811c',
    950: '#000000',
  },
}
SCSS
$custom: #8b811c;
$custom-light: #b0a562;
$custom-dark: #000000;
JSON
{
  "hex": "#8b811c",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 54.595,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.11574,
    "h": 103.4
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#8B811C
secondary
#4751BC
accent
#4EE93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B811C

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

Preview Lab → · Contrast checker → · Palette generator →

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