#505A46#505A46

#505A46 is a mid, muted yellow-green. Relative luminance 0.095; OKLCH L 45.3% C 0.034 H 129.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#505A46
RGBrgb(80, 90, 70)
HSLhsl(90, 13%, 31%)
HSVhsv(90, 22%, 35%)
CMYKcmyk(11.1%, 0%, 22.2%, 64.7%)
CIE-LABlab(36.86, -8.07, 10.28)
CIE-LCHlch(36.86, 13.06, 128.13°)
OKLaboklab(45.28% -0.0215 0.0263)
OKLCHoklch(45.28% 0.034 129.3)
XYZxyz(8.0697, 9.4599, 7.1940)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505A46 #50465A
analogous
#5A5A46 #505A46 #465A46
triadic
#505A46 #46505A #5A4650
tetradic
#505A46 #465A5A #50465A #5A4646
square
#505A46 #465A5A #50465A #5A4646
split-complementary
#505A46 #46465A #5A465A
monochromatic
#131510 #31382B #505A46 #6F7C61 #8D9B7F

Accessibility & contrast

On white

7.26
#505A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#505A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505A46
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505A46#FFFFFF#000000##FFFFFF
##505A461.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5745
Deuteranopia (green-blind)
#5B5647
Tritanopia (blue-blind)
#515854
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505a46;
/* rgb */ color: rgb(80, 90, 70);
/* oklch */ color: oklch(45.3% 0.034 129.3);
Tailwind
colors: {
  custom: {
    50: '#818879',
    500: '#505a46',
    950: '#000000',
  },
}
SCSS
$custom: #505a46;
$custom-light: #818879;
$custom-dark: #000000;
JSON
{
  "hex": "#505a46",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 70
  },
  "hsl": {
    "h": 90,
    "s": 12.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.03399,
    "h": 129.3
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#505A46
secondary
#7E7389
accent
#72B594
background
#F7F8F7
surface
#EEEFED
border
#C9CAC8
text
#0A0B09
muted
#7C7C7B

Preview Lab

Preview with #505A46

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

Preview Lab → · Contrast checker → · Palette generator →

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