#8D8D50#8D8D50

#8D8D50 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.9% C 0.083 H 108.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8D8D50
RGBrgb(141, 141, 80)
HSLhsl(60, 28%, 43%)
HSVhsv(60, 43%, 55%)
CMYKcmyk(0%, 0%, 43.3%, 44.7%)
CIE-LABlab(57.36, -9.40, 32.46)
CIE-LCHlch(57.36, 33.79, 106.16°)
OKLaboklab(62.91% -0.0263 0.0784)
OKLCHoklch(62.91% 0.083 108.6)
XYZxyz(21.9577, 25.2921, 11.3130)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D50 #50508D
analogous
#8D6E50 #8D8D50 #6E8D50
triadic
#8D8D50 #508D8D #8D508D
tetradic
#8D8D50 #508D6E #50508D #8D506E
square
#8D8D50 #508D6E #50508D #8D506E
split-complementary
#8D8D50 #506E8D #6E508D
monochromatic
#3F3F24 #66663A #8D8D50 #ADAD6E #C3C395

Accessibility & contrast

On white

3.47
#8D8D50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8D8D50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D50
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D50#FFFFFF#000000##000000
##8D8D501.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96884B
Deuteranopia (green-blind)
#978B53
Tritanopia (blue-blind)
#95867E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8d50;
/* rgb */ color: rgb(141, 141, 80);
/* oklch */ color: oklch(62.9% 0.083 108.6);
Tailwind
colors: {
  custom: {
    50: '#afae82',
    500: '#8d8d50',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d50;
$custom-light: #afae82;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d50",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.62912,
    "c": 0.08267,
    "h": 108.6
  },
  "luminance": 0.25292
}

Semantic roles & 50–950 ramp

primary
#8D8D50
secondary
#8989AF
accent
#64C464
background
#FAFAF8
surface
#F5F4EF
border
#CFCECA
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8D8D50

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

Preview Lab → · Contrast checker → · Palette generator →

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