#8B7E29#8B7E29

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

Color values

HEX#8B7E29
RGBrgb(139, 126, 41)
HSLhsl(52, 54%, 35%)
HSVhsv(52, 71%, 55%)
CMYKcmyk(0%, 9.4%, 70.5%, 45.5%)
CIE-LABlab(52.48, -5.35, 46.00)
CIE-LCHlch(52.48, 46.31, 96.63°)
OKLaboklab(58.85% -0.019 0.103)
OKLCHoklch(58.85% 0.105 100.5)
XYZxyz(18.5094, 20.5716, 5.0931)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E29 #29368B
analogous
#8B4D29 #8B7E29 #678B29
triadic
#8B7E29 #298B7E #7E298B
tetradic
#8B7E29 #298B4D #29368B #8B2967
square
#8B7E29 #298B4D #29368B #8B2967
split-complementary
#8B7E29 #29678B #4D298B
monochromatic
#2C280D #5C531B #8B7E29 #BAA937 #D0C15F

Accessibility & contrast

On white

4.11
#8B7E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8B7E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E29
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E29#FFFFFF#000000##000000
##8B7E291.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1D
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e29;
/* rgb */ color: rgb(139, 126, 41);
/* oklch */ color: oklch(58.9% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#b0a368',
    500: '#8b7e29',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e29;
$custom-light: #b0a368;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e29",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 52.041,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5885,
    "c": 0.10476,
    "h": 100.5
  },
  "luminance": 0.20571
}

Semantic roles & 50–950 ramp

primary
#8B7E29
secondary
#5B67B5
accent
#5EDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7E29

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

Preview Lab → · Contrast checker → · Palette generator →

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