#8D9541#8D9541

#8D9541 is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.5% C 0.109 H 114.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8D9541
RGBrgb(141, 149, 65)
HSLhsl(66, 39%, 42%)
HSVhsv(66, 56%, 58%)
CMYKcmyk(5.4%, 0%, 56.4%, 41.6%)
CIE-LABlab(59.47, -15.15, 42.61)
CIE-LCHlch(59.47, 45.23, 109.57°)
OKLaboklab(64.54% -0.0442 0.0993)
OKLCHoklch(64.54% 0.109 114)
XYZxyz(22.6865, 27.5396, 9.1206)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9541 #494195
analogous
#957341 #8D9541 #639541
triadic
#8D9541 #418D95 #95418D
tetradic
#8D9541 #419573 #494195 #954163
square
#8D9541 #419573 #494195 #954163
split-complementary
#8D9541 #416395 #734195
monochromatic
#3C401C #656A2E #8D9541 #AFB85C #C4CA86

Accessibility & contrast

On white

3.23
#8D9541 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#8D9541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9541
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9541#FFFFFF#000000##000000
##8D95411.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E38
Deuteranopia (green-blind)
#9F9046
Tritanopia (blue-blind)
#958D83
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9541;
/* rgb */ color: rgb(141, 149, 65);
/* oklch */ color: oklch(64.5% 0.109 114.0);
Tailwind
colors: {
  custom: {
    50: '#b0b479',
    500: '#8d9541',
    950: '#000000',
  },
}
SCSS
$custom: #8d9541;
$custom-light: #b0b479;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9541",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 65
  },
  "hsl": {
    "h": 65.714,
    "s": 39.252,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64536,
    "c": 0.10868,
    "h": 114
  },
  "luminance": 0.27539
}

Semantic roles & 50–950 ramp

primary
#8D9541
secondary
#827DB5
accent
#59CF64
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8D9541

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

Preview Lab → · Contrast checker → · Palette generator →

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