#505C46#505C46

#505C46 is a mid, muted yellow-green. Relative luminance 0.098; OKLCH L 45.8% C 0.038 H 131.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#505C46
RGBrgb(80, 92, 70)
HSLhsl(93, 14%, 32%)
HSVhsv(93, 24%, 36%)
CMYKcmyk(13%, 0%, 23.9%, 63.9%)
CIE-LABlab(37.48, -9.24, 11.15)
CIE-LCHlch(37.48, 14.48, 129.65°)
OKLaboklab(45.78% -0.0248 0.0285)
OKLCHoklch(45.78% 0.038 131.1)
XYZxyz(8.2407, 9.8019, 7.2510)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C46 #52465C
analogous
#5B5C46 #505C46 #465C47
triadic
#505C46 #46505C #5C4650
tetradic
#505C46 #465B5C #52465C #5C4746
square
#505C46 #465B5C #52465C #5C4746
split-complementary
#505C46 #47465C #5C465B
monochromatic
#141611 #32392C #505C46 #6E7F60 #8D9E7F

Accessibility & contrast

On white

7.09
#505C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#505C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505C46
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505C46#FFFFFF#000000##FFFFFF
##505C461.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5945
Deuteranopia (green-blind)
#5C5847
Tritanopia (blue-blind)
#515A56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505c46;
/* rgb */ color: rgb(80, 92, 70);
/* oklch */ color: oklch(45.8% 0.038 131.1);
Tailwind
colors: {
  custom: {
    50: '#818a79',
    500: '#505c46',
    950: '#000000',
  },
}
SCSS
$custom: #505c46;
$custom-light: #818a79;
$custom-dark: #000000;
JSON
{
  "hex": "#505c46",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 70
  },
  "hsl": {
    "h": 92.727,
    "s": 13.58,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.03775,
    "h": 131.1
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#505C46
secondary
#80738B
accent
#71B697
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0B09
muted
#7C7C7B

Preview Lab

Preview with #505C46

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

Preview Lab → · Contrast checker → · Palette generator →

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