#8D8941#8D8941

#8D8941 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.094 H 106.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8D8941
RGBrgb(141, 137, 65)
HSLhsl(57, 37%, 40%)
HSVhsv(57, 54%, 55%)
CMYKcmyk(0%, 2.8%, 53.9%, 44.7%)
CIE-LABlab(56.02, -8.73, 38.64)
CIE-LCHlch(56.02, 39.61, 102.73°)
OKLaboklab(61.79% -0.0259 0.0907)
OKLCHoklch(61.79% 0.094 106)
XYZxyz(20.8849, 23.9363, 8.5200)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8941 #41458D
analogous
#8D6341 #8D8941 #6B8D41
triadic
#8D8941 #418D89 #89418D
tetradic
#8D8941 #418D63 #41458D #8D416B
square
#8D8941 #418D63 #41458D #8D416B
split-complementary
#8D8941 #416B8D #63418D
monochromatic
#39381A #63602E #8D8941 #B2AE59 #C6C283

Accessibility & contrast

On white

3.63
#8D8941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8D8941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8941
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8941#FFFFFF#000000##000000
##8D89411.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843A
Deuteranopia (green-blind)
#958845
Tritanopia (blue-blind)
#968179
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8941;
/* rgb */ color: rgb(141, 137, 65);
/* oklch */ color: oklch(61.8% 0.094 106.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab78',
    500: '#8d8941',
    950: '#000000',
  },
}
SCSS
$custom: #8d8941;
$custom-light: #b0ab78;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8941",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 56.842,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61787,
    "c": 0.09435,
    "h": 106
  },
  "luminance": 0.23936
}

Semantic roles & 50–950 ramp

primary
#8D8941
secondary
#797CB0
accent
#61CD5B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D8941

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

Preview Lab → · Contrast checker → · Palette generator →

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