#8D8D46#8D8D46

#8D8D46 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.094 H 108.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8D8D46
RGBrgb(141, 141, 70)
HSLhsl(60, 34%, 41%)
HSVhsv(60, 50%, 55%)
CMYKcmyk(0%, 0%, 50.4%, 44.7%)
CIE-LABlab(57.23, -10.44, 37.52)
CIE-LCHlch(57.23, 38.94, 105.54°)
OKLaboklab(62.76% -0.0303 0.0888)
OKLCHoklch(62.76% 0.094 108.8)
XYZxyz(21.6154, 25.1552, 9.5100)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D46 #46468D
analogous
#8D6A46 #8D8D46 #6A8D46
triadic
#8D8D46 #468D8D #8D468D
tetradic
#8D8D46 #468D6A #46468D #8D466A
square
#8D8D46 #468D6A #46468D #8D466A
split-complementary
#8D8D46 #466A8D #6A468D
monochromatic
#3B3B1D #646432 #8D8D46 #B0B060 #C4C489

Accessibility & contrast

On white

3.48
#8D8D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8D8D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D46
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D46#FFFFFF#000000##000000
##8D8D461.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978840
Deuteranopia (green-blind)
#988B4A
Tritanopia (blue-blind)
#96857D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d46;
/* rgb */ color: rgb(141, 141, 70);
/* oklch */ color: oklch(62.8% 0.094 108.8);
Tailwind
colors: {
  custom: {
    50: '#b0ae7b',
    500: '#8d8d46',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d46;
$custom-light: #b0ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d46",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62763,
    "c": 0.09379,
    "h": 108.8
  },
  "luminance": 0.25155
}

Semantic roles & 50–950 ramp

primary
#8D8D46
secondary
#7F7FB0
accent
#5ECA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D8D46

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

Preview Lab → · Contrast checker → · Palette generator →

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