#8B8729#8B8729

#8B8729 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.113 H 106.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8B8729
RGBrgb(139, 135, 41)
HSLhsl(58, 54%, 35%)
HSVhsv(58, 71%, 55%)
CMYKcmyk(0%, 2.9%, 70.5%, 45.5%)
CIE-LABlab(55.05, -10.28, 48.59)
CIE-LCHlch(55.05, 49.67, 101.95°)
OKLaboklab(60.9% -0.033 0.1085)
OKLCHoklch(60.9% 0.113 106.9)
XYZxyz(19.7124, 22.9777, 5.4942)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8729 #292D8B
analogous
#8B5629 #8B8729 #5E8B29
triadic
#8B8729 #298B87 #87298B
tetradic
#8B8729 #298B56 #292D8B #8B295E
square
#8B8729 #298B56 #292D8B #8B295E
split-complementary
#8B8729 #295E8B #56298B
monochromatic
#2C2B0D #5C591B #8B8729 #BAB537 #D0CB5F

Accessibility & contrast

On white

3.75
#8B8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8B8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8729
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8729#FFFFFF#000000##000000
##8B87291.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#957E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8729;
/* rgb */ color: rgb(139, 135, 41);
/* oklch */ color: oklch(60.9% 0.113 106.9);
Tailwind
colors: {
  custom: {
    50: '#b0a969',
    500: '#8b8729',
    950: '#000000',
  },
}
SCSS
$custom: #8b8729;
$custom-light: #b0a969;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8729",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 57.551,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.1134,
    "h": 106.9
  },
  "luminance": 0.22977
}

Semantic roles & 50–950 ramp

primary
#8B8729
secondary
#5B5EB5
accent
#50DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8729

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

Preview Lab → · Contrast checker → · Palette generator →

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