#8B7D29#8B7D29

#8B7D29 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.104 H 99.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B7D29
RGBrgb(139, 125, 41)
HSLhsl(51, 54%, 35%)
HSVhsv(51, 71%, 55%)
CMYKcmyk(0%, 10.1%, 70.5%, 45.5%)
CIE-LABlab(52.19, -4.79, 45.71)
CIE-LCHlch(52.19, 45.96, 95.98°)
OKLaboklab(58.63% -0.0174 0.1024)
OKLCHoklch(58.63% 0.104 99.7)
XYZxyz(18.3821, 20.3171, 5.0507)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7D29 #29378B
analogous
#8B4C29 #8B7D29 #688B29
triadic
#8B7D29 #298B7D #7D298B
tetradic
#8B7D29 #298B4C #29378B #8B2968
square
#8B7D29 #298B4C #29378B #8B2968
split-complementary
#8B7D29 #29688B #4C298B
monochromatic
#2C280D #5C521B #8B7D29 #BAA837 #D0C05F

Accessibility & contrast

On white

4.15
#8B7D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8B7D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7D29
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7D29#FFFFFF#000000##000000
##8B7D291.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1D
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7d29;
/* rgb */ color: rgb(139, 125, 41);
/* oklch */ color: oklch(58.6% 0.104 99.7);
Tailwind
colors: {
  custom: {
    50: '#b0a268',
    500: '#8b7d29',
    950: '#000000',
  },
}
SCSS
$custom: #8b7d29;
$custom-light: #b0a268;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7d29",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 51.429,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.10389,
    "h": 99.7
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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