#8B8A41#8B8A41

#8B8A41 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.096 H 108.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8B8A41
RGBrgb(139, 138, 65)
HSLhsl(59, 36%, 40%)
HSVhsv(59, 53%, 55%)
CMYKcmyk(0%, 0.7%, 53.2%, 45.5%)
CIE-LABlab(56.14, -10.15, 38.72)
CIE-LCHlch(56.14, 40.03, 104.69°)
OKLaboklab(61.83% -0.0299 0.0909)
OKLCHoklch(61.83% 0.096 108.2)
XYZxyz(20.6906, 24.0481, 8.5518)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A41 #41428B
analogous
#8B6541 #8B8A41 #678B41
triadic
#8B8A41 #418B8A #8A418B
tetradic
#8B8A41 #418B65 #41428B #8B4167
square
#8B8A41 #418B65 #41428B #8B4167
split-complementary
#8B8A41 #41678B #65418B
monochromatic
#38371A #61612D #8B8A41 #B1B058 #C5C482

Accessibility & contrast

On white

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

On black

5.81
#8B8A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A41
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A41#FFFFFF#000000##000000
##8B8A411.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853A
Deuteranopia (green-blind)
#958845
Tritanopia (blue-blind)
#94827A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b8a41;
/* rgb */ color: rgb(139, 138, 65);
/* oklch */ color: oklch(61.8% 0.096 108.2);
Tailwind
colors: {
  custom: {
    50: '#afac78',
    500: '#8b8a41',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a41;
$custom-light: #afac78;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a41",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 59.189,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.09571,
    "h": 108.2
  },
  "luminance": 0.24048
}

Semantic roles & 50–950 ramp

primary
#8B8A41
secondary
#7979AF
accent
#5DCC5C
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8B8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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