#8B7C1B#8B7C1B

#8B7C1B is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.112 H 99.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8B7C1B
RGBrgb(139, 124, 27)
HSLhsl(52, 67%, 33%)
HSVhsv(52, 81%, 55%)
CMYKcmyk(0%, 10.8%, 80.6%, 45.5%)
CIE-LABlab(51.82, -4.91, 50.76)
CIE-LCHlch(51.82, 51.00, 95.52°)
OKLaboklab(58.3% -0.0193 0.1103)
OKLCHoklch(58.3% 0.112 99.9)
XYZxyz(18.0538, 19.9843, 3.9431)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7C1B #1B2A8B
analogous
#8B441B #8B7C1B #628B1B
triadic
#8B7C1B #1B8B7C #7C1B8B
tetradic
#8B7C1B #1B8B44 #1B2A8B #8B1B62
square
#8B7C1B #1B8B44 #1B2A8B #8B1B62
split-complementary
#8B7C1B #1B628B #441B8B
monochromatic
#252107 #584E11 #8B7C1B #BEAA25 #DBC745

Accessibility & contrast

On white

4.20
#8B7C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8B7C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7C1B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7C1B#FFFFFF#000000##000000
##8B7C1B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#96726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7c1b;
/* rgb */ color: rgb(139, 124, 27);
/* oklch */ color: oklch(58.3% 0.112 99.9);
Tailwind
colors: {
  custom: {
    50: '#b1a161',
    500: '#8b7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #8b7c1b;
$custom-light: #b1a161;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7c1b",
  "rgb": {
    "r": 139,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 51.964,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.112,
    "h": 99.9
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#8B7C1B
secondary
#4555BC
accent
#55EA3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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