#505A3A#505A3A

#505A3A is a dark, muted yellow-green. Relative luminance 0.093; OKLCH L 45.0% C 0.051 H 122.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#505A3A
RGBrgb(80, 90, 58)
HSLhsl(79, 22%, 29%)
HSVhsv(79, 36%, 35%)
CMYKcmyk(11.1%, 0%, 35.6%, 64.7%)
CIE-LABlab(36.60, -10.11, 17.23)
CIE-LCHlch(36.60, 19.98, 120.40°)
OKLaboklab(44.99% -0.0274 0.0429)
OKLCHoklch(44.99% 0.051 122.6)
XYZxyz(7.7281, 9.3233, 5.3946)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505A3A #443A5A
analogous
#5A543A #505A3A #405A3A
triadic
#505A3A #3A505A #5A3A50
tetradic
#505A3A #3A5A54 #443A5A #5A3A40
square
#505A3A #3A5A54 #443A5A #5A3A40
split-complementary
#505A3A #3A405A #543A5A
monochromatic
#11130C #2F3522 #505A3A #717F52 #91A16D

Accessibility & contrast

On white

7.33
#505A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#505A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505A3A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505A3A#FFFFFF#000000##FFFFFF
##505A3A1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5638
Deuteranopia (green-blind)
#5C563B
Tritanopia (blue-blind)
#525752
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505a3a;
/* rgb */ color: rgb(80, 90, 58);
/* oklch */ color: oklch(45.0% 0.051 122.6);
Tailwind
colors: {
  custom: {
    50: '#818870',
    500: '#505a3a',
    950: '#000000',
  },
}
SCSS
$custom: #505a3a;
$custom-light: #818870;
$custom-dark: #000000;
JSON
{
  "hex": "#505a3a",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 58
  },
  "hsl": {
    "h": 78.75,
    "s": 21.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.05088,
    "h": 122.6
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#505A3A
secondary
#71668A
accent
#6ABE84
background
#F7F8F6
surface
#EEEFEC
border
#C9CAC7
text
#0A0B07
muted
#7C7C7A

Preview Lab

Preview with #505A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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