#8B8B29#8B8B29

#8B8B29 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.118 H 109.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8B8B29
RGBrgb(139, 139, 41)
HSLhsl(60, 54%, 35%)
HSVhsv(60, 71%, 55%)
CMYKcmyk(0%, 0%, 70.5%, 45.5%)
CIE-LABlab(56.20, -12.44, 49.74)
CIE-LCHlch(56.20, 51.27, 104.04°)
OKLaboklab(61.82% -0.039 0.1109)
OKLCHoklch(61.82% 0.118 109.4)
XYZxyz(20.2810, 24.1149, 5.6837)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8B29 #29298B
analogous
#8B5A29 #8B8B29 #5A8B29
triadic
#8B8B29 #298B8B #8B298B
tetradic
#8B8B29 #298B5A #29298B #8B295A
square
#8B8B29 #298B5A #29298B #8B295A
split-complementary
#8B8B29 #295A8B #5A298B
monochromatic
#2C2C0D #5C5C1B #8B8B29 #BABA37 #D0D05F

Accessibility & contrast

On white

3.61
#8B8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8B8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8B29
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8B29#FFFFFF#000000##000000
##8B8B291.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968519
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#958278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b8b29;
/* rgb */ color: rgb(139, 139, 41);
/* oklch */ color: oklch(61.8% 0.118 109.4);
Tailwind
colors: {
  custom: {
    50: '#b0ac69',
    500: '#8b8b29',
    950: '#000000',
  },
}
SCSS
$custom: #8b8b29;
$custom-light: #b0ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8b29",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61816,
    "c": 0.11758,
    "h": 109.4
  },
  "luminance": 0.24114
}

Semantic roles & 50–950 ramp

primary
#8B8B29
secondary
#5B5BB5
accent
#4ADE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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