#8B8929#8B8929

#8B8929 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.115 H 108.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8B8929
RGBrgb(139, 137, 41)
HSLhsl(59, 54%, 35%)
HSVhsv(59, 71%, 55%)
CMYKcmyk(0%, 1.4%, 70.5%, 45.5%)
CIE-LABlab(55.63, -11.36, 49.17)
CIE-LCHlch(55.63, 50.46, 103.01°)
OKLaboklab(61.36% -0.036 0.1097)
OKLCHoklch(61.36% 0.115 108.2)
XYZxyz(19.9941, 23.5410, 5.5880)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8929 #292B8B
analogous
#8B5829 #8B8929 #5C8B29
triadic
#8B8929 #298B89 #89298B
tetradic
#8B8929 #298B58 #292B8B #8B295C
square
#8B8929 #298B58 #292B8B #8B295C
split-complementary
#8B8929 #295C8B #58298B
monochromatic
#2C2C0D #5C5A1B #8B8929 #BAB837 #D0CD5F

Accessibility & contrast

On white

3.68
#8B8929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8B8929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8929
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8929#FFFFFF#000000##000000
##8B89291.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#958076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b8929;
/* rgb */ color: rgb(139, 137, 41);
/* oklch */ color: oklch(61.4% 0.115 108.2);
Tailwind
colors: {
  custom: {
    50: '#b0ab69',
    500: '#8b8929',
    950: '#000000',
  },
}
SCSS
$custom: #8b8929;
$custom-light: #b0ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8929",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 58.776,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61355,
    "c": 0.11547,
    "h": 108.2
  },
  "luminance": 0.2354
}

Semantic roles & 50–950 ramp

primary
#8B8929
secondary
#5B5CB5
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8929

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

Preview Lab → · Contrast checker → · Palette generator →

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