#8B851F#8B851F

#8B851F is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.118 H 105.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8B851F
RGBrgb(139, 133, 31)
HSLhsl(57, 64%, 33%)
HSVhsv(57, 78%, 55%)
CMYKcmyk(0%, 4.3%, 77.7%, 45.5%)
CIE-LABlab(54.41, -9.70, 51.76)
CIE-LCHlch(54.41, 52.66, 100.61°)
OKLaboklab(60.37% -0.0324 0.1133)
OKLCHoklch(60.37% 0.118 105.9)
XYZxyz(19.2831, 22.3637, 4.5969)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B851F #1F258B
analogous
#8B4F1F #8B851F #5B8B1F
triadic
#8B851F #1F8B85 #851F8B
tetradic
#8B851F #1F8B4F #1F258B #8B1F5B
square
#8B851F #1F8B4F #1F258B #8B1F5B
split-complementary
#8B851F #1F5B8B #4F1F8B
monochromatic
#272509 #595514 #8B851F #BDB52A #D7D04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B851F#FFFFFF#000000##000000
##8B851F1.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)
#918007
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b851f;
/* rgb */ color: rgb(139, 133, 31);
/* oklch */ color: oklch(60.4% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#b0a864',
    500: '#8b851f',
    950: '#000000',
  },
}
SCSS
$custom: #8b851f;
$custom-light: #b0a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8b851f",
  "rgb": {
    "r": 139,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 56.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60367,
    "c": 0.11781,
    "h": 105.9
  },
  "luminance": 0.22363
}

Semantic roles & 50–950 ramp

primary
#8B851F
secondary
#4C52BA
accent
#4AE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B851F

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

Preview Lab → · Contrast checker → · Palette generator →

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