#505442#505442

#505442 is a dark, muted yellow-green. Relative luminance 0.084; OKLCH L 43.7% C 0.029 H 117.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#505442
RGBrgb(80, 84, 66)
HSLhsl(73, 12%, 29%)
HSVhsv(73, 21%, 33%)
CMYKcmyk(4.8%, 0%, 21.4%, 67.1%)
CIE-LABlab(34.88, -5.22, 10.01)
CIE-LCHlch(34.88, 11.29, 117.56°)
OKLaboklab(43.68% -0.0135 0.0256)
OKLCHoklch(43.68% 0.029 117.8)
XYZxyz(7.4619, 8.4395, 6.3891)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505442 #464254
analogous
#544F42 #505442 #475442
triadic
#505442 #425054 #544250
tetradic
#505442 #42544F #464254 #544247
square
#505442 #42544F #464254 #544247
split-complementary
#505442 #424754 #4F4254
monochromatic
#10110D #2F3227 #505442 #71765D #90967A

Accessibility & contrast

On white

7.81
#505442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#505442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505442
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505442#FFFFFF#000000##FFFFFF
##5054421.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575241
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#52524F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #505442;
/* rgb */ color: rgb(80, 84, 66);
/* oklch */ color: oklch(43.7% 0.029 117.8);
Tailwind
colors: {
  custom: {
    50: '#818476',
    500: '#505442',
    950: '#000000',
  },
}
SCSS
$custom: #505442;
$custom-light: #818476;
$custom-dark: #000000;
JSON
{
  "hex": "#505442",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 66
  },
  "hsl": {
    "h": 73.333,
    "s": 12,
    "l": 29.412
  },
  "oklch": {
    "l": 0.43676,
    "c": 0.02895,
    "h": 117.8
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#505442
secondary
#736F83
accent
#73B582
background
#F7F8F7
surface
#EEEFED
border
#C9CAC8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #505442

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

Preview Lab → · Contrast checker → · Palette generator →

#505442 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva