#505642#505642

#505642 is a dark, muted yellow-green. Relative luminance 0.088; OKLCH L 44.2% C 0.032 H 121.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#505642
RGBrgb(80, 86, 66)
HSLhsl(78, 13%, 30%)
HSVhsv(78, 23%, 34%)
CMYKcmyk(7%, 0%, 23.3%, 66.3%)
CIE-LABlab(35.51, -6.42, 10.87)
CIE-LCHlch(35.51, 12.63, 120.57°)
OKLaboklab(44.17% -0.0169 0.0277)
OKLCHoklch(44.17% 0.032 121.3)
XYZxyz(7.6193, 8.7544, 6.4416)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505642 #484256
analogous
#565242 #505642 #465642
triadic
#505642 #425056 #564250
tetradic
#505642 #425652 #484256 #564246
square
#505642 #425652 #484256 #564246
split-complementary
#505642 #424656 #524256
monochromatic
#10110D #303327 #505642 #70795D #8F997A

Accessibility & contrast

On white

7.63
#505642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#505642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505642
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505642#FFFFFF#000000##FFFFFF
##5056421.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#585443
Tritanopia (blue-blind)
#525451
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #505642;
/* rgb */ color: rgb(80, 86, 66);
/* oklch */ color: oklch(44.2% 0.032 121.3);
Tailwind
colors: {
  custom: {
    50: '#818576',
    500: '#505642',
    950: '#000000',
  },
}
SCSS
$custom: #505642;
$custom-light: #818576;
$custom-dark: #000000;
JSON
{
  "hex": "#505642",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 66
  },
  "hsl": {
    "h": 78,
    "s": 13.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.03247,
    "h": 121.3
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#505642
secondary
#756F85
accent
#72B686
background
#F7F8F7
surface
#EEEFED
border
#C9CAC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #505642

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

Preview Lab → · Contrast checker → · Palette generator →

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