#8B9541#8B9541

#8B9541 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.109 H 115.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8B9541
RGBrgb(139, 149, 65)
HSLhsl(67, 39%, 42%)
HSVhsv(67, 56%, 58%)
CMYKcmyk(6.7%, 0%, 56.4%, 41.6%)
CIE-LABlab(59.31, -16.01, 42.39)
CIE-LCHlch(59.31, 45.31, 110.69°)
OKLaboklab(64.37% -0.0465 0.0988)
OKLCHoklch(64.37% 0.109 115.2)
XYZxyz(22.3494, 27.3658, 9.1048)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9541 #4B4195
analogous
#957541 #8B9541 #619541
triadic
#8B9541 #418B95 #95418B
tetradic
#8B9541 #419575 #4B4195 #954161
square
#8B9541 #419575 #4B4195 #954161
split-complementary
#8B9541 #416195 #754195
monochromatic
#3B401C #636A2E #8B9541 #ADB85C #C2CA86

Accessibility & contrast

On white

3.24
#8B9541 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8B9541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9541
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9541#FFFFFF#000000##000000
##8B95411.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E38
Deuteranopia (green-blind)
#9E9046
Tritanopia (blue-blind)
#938D82
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8b9541;
/* rgb */ color: rgb(139, 149, 65);
/* oklch */ color: oklch(64.4% 0.109 115.2);
Tailwind
colors: {
  custom: {
    50: '#afb478',
    500: '#8b9541',
    950: '#000000',
  },
}
SCSS
$custom: #8b9541;
$custom-light: #afb478;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9541",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 65
  },
  "hsl": {
    "h": 67.143,
    "s": 39.252,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64369,
    "c": 0.10922,
    "h": 115.2
  },
  "luminance": 0.27366
}

Semantic roles & 50–950 ramp

primary
#8B9541
secondary
#847DB5
accent
#59CF67
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8B9541

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

Preview Lab → · Contrast checker → · Palette generator →

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