#8B7628#8B7628

#8B7628 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.1% C 0.099 H 93.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8B7628
RGBrgb(139, 118, 40)
HSLhsl(47, 55%, 35%)
HSVhsv(47, 71%, 55%)
CMYKcmyk(0%, 15.1%, 71.2%, 45.5%)
CIE-LABlab(50.22, -0.91, 44.13)
CIE-LCHlch(50.22, 44.14, 91.18°)
OKLaboklab(57.06% -0.0065 0.0989)
OKLCHoklch(57.06% 0.099 93.8)
XYZxyz(17.5098, 18.6000, 4.6750)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7628 #283D8B
analogous
#8B4528 #8B7628 #6E8B28
triadic
#8B7628 #288B76 #76288B
tetradic
#8B7628 #288B45 #283D8B #8B286E
square
#8B7628 #288B45 #283D8B #8B286E
split-complementary
#8B7628 #286E8B #45288B
monochromatic
#2C250D #5B4E1A #8B7628 #BB9E36 #D0B85D

Accessibility & contrast

On white

4.45
#8B7628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8B7628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7628
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7628#FFFFFF#000000##000000
##8B76281.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#966D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b7628;
/* rgb */ color: rgb(139, 118, 40);
/* oklch */ color: oklch(57.1% 0.099 93.8);
Tailwind
colors: {
  custom: {
    50: '#b09d67',
    500: '#8b7628',
    950: '#000000',
  },
}
SCSS
$custom: #8b7628;
$custom-light: #b09d67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7628",
  "rgb": {
    "r": 139,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 47.273,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.09909,
    "h": 93.8
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#8B7628
secondary
#596DB6
accent
#69DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7628

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

Preview Lab → · Contrast checker → · Palette generator →

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