#8B7E33#8B7E33

#8B7E33 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.097 H 99.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8B7E33
RGBrgb(139, 126, 51)
HSLhsl(51, 46%, 37%)
HSVhsv(51, 63%, 55%)
CMYKcmyk(0%, 9.4%, 63.3%, 45.5%)
CIE-LABlab(52.56, -4.70, 41.55)
CIE-LCHlch(52.56, 41.82, 96.45°)
OKLaboklab(58.95% -0.016 0.0953)
OKLCHoklch(58.95% 0.097 99.5)
XYZxyz(18.7066, 20.6505, 6.1319)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E33 #33408B
analogous
#8B5233 #8B7E33 #6C8B33
triadic
#8B7E33 #338B7E #7E338B
tetradic
#8B7E33 #338B52 #33408B #8B336C
square
#8B7E33 #338B52 #33408B #8B336C
split-complementary
#8B7E33 #336C8B #52338B
monochromatic
#312D12 #5E5523 #8B7E33 #B8A743 #CABC6E

Accessibility & contrast

On white

4.09
#8B7E33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8B7E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E33
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E33#FFFFFF#000000##000000
##8B7E331.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B2B
Deuteranopia (green-blind)
#8D8037
Tritanopia (blue-blind)
#95756E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e33;
/* rgb */ color: rgb(139, 126, 51);
/* oklch */ color: oklch(58.9% 0.097 99.5);
Tailwind
colors: {
  custom: {
    50: '#afa36e',
    500: '#8b7e33',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e33;
$custom-light: #afa36e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e33",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 51.136,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58948,
    "c": 0.09658,
    "h": 99.5
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

primary
#8B7E33
secondary
#6873B2
accent
#65D652
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B7E33

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

Preview Lab → · Contrast checker → · Palette generator →

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