#8B7727#8B7727

#8B7727 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.3% C 0.101 H 94.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8B7727
RGBrgb(139, 119, 39)
HSLhsl(48, 56%, 35%)
HSVhsv(48, 72%, 55%)
CMYKcmyk(0%, 14.4%, 71.9%, 45.5%)
CIE-LABlab(50.49, -1.53, 44.85)
CIE-LCHlch(50.49, 44.87, 91.96°)
OKLaboklab(57.27% -0.0084 0.1002)
OKLCHoklch(57.27% 0.101 94.8)
XYZxyz(17.6114, 18.8301, 4.6260)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7727 #273B8B
analogous
#8B4527 #8B7727 #6D8B27
triadic
#8B7727 #278B77 #77278B
tetradic
#8B7727 #278B45 #273B8B #8B276D
square
#8B7727 #278B45 #273B8B #8B276D
split-complementary
#8B7727 #276D8B #45278B
monochromatic
#2B250C #5B4E1A #8B7727 #BBA034 #D1BA5B

Accessibility & contrast

On white

4.41
#8B7727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8B7727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7727
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7727#FFFFFF#000000##000000
##8B77271.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#966E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b7727;
/* rgb */ color: rgb(139, 119, 39);
/* oklch */ color: oklch(57.3% 0.101 94.8);
Tailwind
colors: {
  custom: {
    50: '#b09d66',
    500: '#8b7727',
    950: '#000000',
  },
}
SCSS
$custom: #8b7727;
$custom-light: #b09d66;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7727",
  "rgb": {
    "r": 139,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 48,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.10055,
    "h": 94.8
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#8B7727
secondary
#586BB6
accent
#67DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7727

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

Preview Lab → · Contrast checker → · Palette generator →

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