#505C4E#505C4E

#505C4E is a mid, muted green. Relative luminance 0.099; OKLCH L 46.0% C 0.027 H 141.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#505C4E
RGBrgb(80, 92, 78)
HSLhsl(111, 8%, 33%)
HSVhsv(111, 15%, 36%)
CMYKcmyk(13%, 0%, 15.2%, 63.9%)
CIE-LABlab(37.68, -7.69, 6.51)
CIE-LCHlch(37.68, 10.08, 139.78°)
OKLaboklab(46% -0.0209 0.0168)
OKLCHoklch(46% 0.027 141.2)
XYZxyz(8.5103, 9.9097, 8.6707)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C4E #5A4E5C
analogous
#575C4E #505C4E #4E5C53
triadic
#505C4E #4E505C #5C4E50
tetradic
#505C4E #4E575C #5A4E5C #5C534E
square
#505C4E #4E575C #5A4E5C #5C534E
split-complementary
#505C4E #534E5C #5C4E57
monochromatic
#161A16 #333B32 #505C4E #6D7D6A #8C9B89

Accessibility & contrast

On white

7.04
#505C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#505C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505C4E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505C4E#FFFFFF#000000##FFFFFF
##505C4E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D594D
Deuteranopia (green-blind)
#5B584F
Tritanopia (blue-blind)
#4F5B58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505c4e;
/* rgb */ color: rgb(80, 92, 78);
/* oklch */ color: oklch(46.0% 0.027 141.2);
Tailwind
colors: {
  custom: {
    50: '#818a7f',
    500: '#505c4e',
    950: '#000000',
  },
}
SCSS
$custom: #505c4e;
$custom-light: #818a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#505c4e",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 78
  },
  "hsl": {
    "h": 111.429,
    "s": 8.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.02685,
    "h": 141.2
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#505C4E
secondary
#887C8A
accent
#77B1A9
background
#F7F8F7
surface
#EEF0EE
border
#C9CBC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #505C4E

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

Preview Lab → · Contrast checker → · Palette generator →

#505C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva