#8B7B1B#8B7B1B

#8B7B1B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.111 H 99.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B7B1B
RGBrgb(139, 123, 27)
HSLhsl(51, 67%, 33%)
HSVhsv(51, 81%, 55%)
CMYKcmyk(0%, 11.5%, 80.6%, 45.5%)
CIE-LABlab(51.54, -4.35, 50.51)
CIE-LCHlch(51.54, 50.69, 94.92°)
OKLaboklab(58.08% -0.0177 0.1098)
OKLCHoklch(58.08% 0.111 99.2)
XYZxyz(17.9292, 19.7349, 3.9015)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7B1B #1B2B8B
analogous
#8B431B #8B7B1B #638B1B
triadic
#8B7B1B #1B8B7B #7B1B8B
tetradic
#8B7B1B #1B8B43 #1B2B8B #8B1B63
square
#8B7B1B #1B8B43 #1B2B8B #8B1B63
split-complementary
#8B7B1B #1B638B #431B8B
monochromatic
#252007 #584E11 #8B7B1B #BEA825 #DBC645

Accessibility & contrast

On white

4.25
#8B7B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8B7B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7B1B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7B1B#FFFFFF#000000##000000
##8B7B1B1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#967169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b7b1b;
/* rgb */ color: rgb(139, 123, 27);
/* oklch */ color: oklch(58.1% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#b1a060',
    500: '#8b7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #8b7b1b;
$custom-light: #b1a060;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7b1b",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 51.429,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.1112,
    "h": 99.2
  },
  "luminance": 0.19734
}

Semantic roles & 50–950 ramp

primary
#8B7B1B
secondary
#4556BC
accent
#56EA3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8B7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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