#8B7728#8B7728

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

Color values

HEX#8B7728
RGBrgb(139, 119, 40)
HSLhsl(48, 55%, 35%)
HSVhsv(48, 71%, 55%)
CMYKcmyk(0%, 14.4%, 71.2%, 45.5%)
CIE-LABlab(50.50, -1.48, 44.42)
CIE-LCHlch(50.50, 44.44, 91.91°)
OKLaboklab(57.28% -0.0081 0.0995)
OKLCHoklch(57.28% 0.1 94.7)
XYZxyz(17.6282, 18.8368, 4.7144)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7728 #283C8B
analogous
#8B4628 #8B7728 #6D8B28
triadic
#8B7728 #288B77 #77288B
tetradic
#8B7728 #288B46 #283C8B #8B286D
square
#8B7728 #288B46 #283C8B #8B286D
split-complementary
#8B7728 #286D8B #46288B
monochromatic
#2C260D #5B4E1A #8B7728 #BBA036 #D0B95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7728#FFFFFF#000000##000000
##8B77281.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)
#84751D
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#966E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b7728;
/* rgb */ color: rgb(139, 119, 40);
/* oklch */ color: oklch(57.3% 0.100 94.7);
Tailwind
colors: {
  custom: {
    50: '#b09d67',
    500: '#8b7728',
    950: '#000000',
  },
}
SCSS
$custom: #8b7728;
$custom-light: #b09d67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7728",
  "rgb": {
    "r": 139,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 47.879,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.09982,
    "h": 94.7
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#8B7728
secondary
#596CB6
accent
#67DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7728

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

Preview Lab → · Contrast checker → · Palette generator →

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