#8B7828#8B7828

#8B7828 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.101 H 95.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B7828
RGBrgb(139, 120, 40)
HSLhsl(48, 55%, 35%)
HSVhsv(48, 71%, 55%)
CMYKcmyk(0%, 13.7%, 71.2%, 45.5%)
CIE-LABlab(50.78, -2.04, 44.70)
CIE-LCHlch(50.78, 44.75, 92.62°)
OKLaboklab(57.5% -0.0097 0.1001)
OKLCHoklch(57.5% 0.101 95.6)
XYZxyz(17.7478, 19.0760, 4.7543)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7828 #283B8B
analogous
#8B4728 #8B7828 #6C8B28
triadic
#8B7828 #288B78 #78288B
tetradic
#8B7828 #288B47 #283B8B #8B286C
square
#8B7828 #288B47 #283B8B #8B286C
split-complementary
#8B7828 #286C8B #47288B
monochromatic
#2C260D #5B4F1A #8B7828 #BBA136 #D0BA5D

Accessibility & contrast

On white

4.36
#8B7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8B7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7828
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7828#FFFFFF#000000##000000
##8B78281.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85751D
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#966F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b7828;
/* rgb */ color: rgb(139, 120, 40);
/* oklch */ color: oklch(57.5% 0.101 95.6);
Tailwind
colors: {
  custom: {
    50: '#b09e67',
    500: '#8b7828',
    950: '#000000',
  },
}
SCSS
$custom: #8b7828;
$custom-light: #b09e67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7828",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 48.485,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.575,
    "c": 0.10056,
    "h": 95.6
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#8B7828
secondary
#596BB6
accent
#66DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7828

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

Preview Lab → · Contrast checker → · Palette generator →

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