#8D8D41#8D8D41

#8D8D41 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.099 H 108.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D8D41
RGBrgb(141, 141, 65)
HSLhsl(60, 37%, 40%)
HSVhsv(60, 54%, 55%)
CMYKcmyk(0%, 0%, 53.9%, 44.7%)
CIE-LABlab(57.17, -10.90, 39.97)
CIE-LCHlch(57.17, 41.42, 105.25°)
OKLaboklab(62.7% -0.0321 0.0936)
OKLCHoklch(62.7% 0.099 108.9)
XYZxyz(21.4641, 25.0947, 8.7131)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D41 #41418D
analogous
#8D6741 #8D8D41 #678D41
triadic
#8D8D41 #418D8D #8D418D
tetradic
#8D8D41 #418D67 #41418D #8D4167
square
#8D8D41 #418D67 #41418D #8D4167
split-complementary
#8D8D41 #41678D #67418D
monochromatic
#39391A #63632E #8D8D41 #B2B259 #C6C683

Accessibility & contrast

On white

3.49
#8D8D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8D8D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D41
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D41#FFFFFF#000000##000000
##8D8D411.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883A
Deuteranopia (green-blind)
#988B45
Tritanopia (blue-blind)
#96857C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d41;
/* rgb */ color: rgb(141, 141, 65);
/* oklch */ color: oklch(62.7% 0.099 108.9);
Tailwind
colors: {
  custom: {
    50: '#b0ae78',
    500: '#8d8d41',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d41;
$custom-light: #b0ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d41",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62698,
    "c": 0.09895,
    "h": 108.9
  },
  "luminance": 0.25094
}

Semantic roles & 50–950 ramp

primary
#8D8D41
secondary
#7979B0
accent
#5BCD5B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D8D41

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

Preview Lab → · Contrast checker → · Palette generator →

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