#8B8A29#8B8A29

#8B8A29 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.117 H 108.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8B8A29
RGBrgb(139, 138, 41)
HSLhsl(59, 54%, 35%)
HSVhsv(59, 71%, 55%)
CMYKcmyk(0%, 0.7%, 70.5%, 45.5%)
CIE-LABlab(55.91, -11.90, 49.45)
CIE-LCHlch(55.91, 50.87, 103.53°)
OKLaboklab(61.59% -0.0375 0.1103)
OKLCHoklch(61.59% 0.117 108.8)
XYZxyz(20.1369, 23.8266, 5.6357)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A29 #292A8B
analogous
#8B5929 #8B8A29 #5B8B29
triadic
#8B8A29 #298B8A #8A298B
tetradic
#8B8A29 #298B59 #292A8B #8B295B
square
#8B8A29 #298B59 #292A8B #8B295B
split-complementary
#8B8A29 #295B8B #59298B
monochromatic
#2C2C0D #5C5B1B #8B8A29 #BAB937 #D0CF5F

Accessibility & contrast

On white

3.64
#8B8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8B8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A29
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A29#FFFFFF#000000##000000
##8B8A291.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#958177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a29;
/* rgb */ color: rgb(139, 138, 41);
/* oklch */ color: oklch(61.6% 0.117 108.8);
Tailwind
colors: {
  custom: {
    50: '#b0ab69',
    500: '#8b8a29',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a29;
$custom-light: #b0ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a29",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 59.388,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.11652,
    "h": 108.8
  },
  "luminance": 0.23826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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