#8B851A#8B851A

#8B851A is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.120 H 106.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8B851A
RGBrgb(139, 133, 26)
HSLhsl(57, 68%, 32%)
HSVhsv(57, 81%, 55%)
CMYKcmyk(0%, 4.3%, 81.3%, 45.5%)
CIE-LABlab(54.39, -9.89, 53.37)
CIE-LCHlch(54.39, 54.28, 100.50°)
OKLaboklab(60.34% -0.0334 0.1157)
OKLCHoklch(60.34% 0.12 106.1)
XYZxyz(19.2223, 22.3393, 4.2765)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B851A #1A208B
analogous
#8B4C1A #8B851A #598B1A
triadic
#8B851A #1A8B85 #851A8B
tetradic
#8B851A #1A8B4C #1A208B #8B1A59
square
#8B851A #1A8B4C #1A208B #8B1A59
split-complementary
#8B851A #1A598B #4C1A8B
monochromatic
#242207 #575410 #8B851A #BFB624 #DCD443

Accessibility & contrast

On white

3.84
#8B851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8B851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B851A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B851A#FFFFFF#000000##000000
##8B851A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b851a;
/* rgb */ color: rgb(139, 133, 26);
/* oklch */ color: oklch(60.3% 0.120 106.1);
Tailwind
colors: {
  custom: {
    50: '#b0a861',
    500: '#8b851a',
    950: '#000000',
  },
}
SCSS
$custom: #8b851a;
$custom-light: #b0a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8b851a",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 56.814,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.12044,
    "h": 106.1
  },
  "luminance": 0.22339
}

Semantic roles & 50–950 ramp

primary
#8B851A
secondary
#444ABD
accent
#46EB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B851A

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

Preview Lab → · Contrast checker → · Palette generator →

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