#505E42#505E42

#505E42 is a mid, muted yellow-green. Relative luminance 0.101; OKLCH L 46.2% C 0.047 H 129.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#505E42
RGBrgb(80, 94, 66)
HSLhsl(90, 18%, 31%)
HSVhsv(90, 30%, 37%)
CMYKcmyk(14.9%, 0%, 29.8%, 63.1%)
CIE-LABlab(38.03, -11.11, 14.33)
CIE-LCHlch(38.03, 18.13, 127.78°)
OKLaboklab(46.18% -0.03 0.0362)
OKLCHoklch(46.18% 0.047 129.7)
XYZxyz(8.2942, 10.1041, 6.6665)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E42 #50425E
analogous
#5E5E42 #505E42 #425E42
triadic
#505E42 #42505E #5E4250
tetradic
#505E42 #425E5E #50425E #5E4242
square
#505E42 #425E5E #50425E #5E4242
split-complementary
#505E42 #42425E #5E425E
monochromatic
#131610 #313A29 #505E42 #6F825B #8DA179

Accessibility & contrast

On white

6.95
#505E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#505E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505E42
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505E42#FFFFFF#000000##FFFFFF
##505E421.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A40
Deuteranopia (green-blind)
#5F5943
Tritanopia (blue-blind)
#515C57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505e42;
/* rgb */ color: rgb(80, 94, 66);
/* oklch */ color: oklch(46.2% 0.047 129.7);
Tailwind
colors: {
  custom: {
    50: '#818b76',
    500: '#505e42',
    950: '#000000',
  },
}
SCSS
$custom: #505e42;
$custom-light: #818b76;
$custom-dark: #000000;
JSON
{
  "hex": "#505e42",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 66
  },
  "hsl": {
    "h": 90,
    "s": 17.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.46182,
    "c": 0.04696,
    "h": 129.7
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#505E42
secondary
#7E6E8D
accent
#6EBA94
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #505E42

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

Preview Lab → · Contrast checker → · Palette generator →

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