#505E40#505E40

#505E40 is a mid, muted yellow-green. Relative luminance 0.101; OKLCH L 46.1% C 0.050 H 128.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#505E40
RGBrgb(80, 94, 64)
HSLhsl(88, 19%, 31%)
HSVhsv(88, 32%, 37%)
CMYKcmyk(14.9%, 0%, 31.9%, 63.1%)
CIE-LABlab(37.99, -11.45, 15.48)
CIE-LCHlch(37.99, 19.25, 126.49°)
OKLaboklab(46.14% -0.0309 0.0389)
OKLCHoklch(46.14% 0.05 128.5)
XYZxyz(8.2362, 10.0810, 6.3614)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E40 #4E405E
analogous
#5E5D40 #505E40 #415E40
triadic
#505E40 #40505E #5E4050
tetradic
#505E40 #405E5D #4E405E #5E4041
square
#505E40 #405E5D #4E405E #5E4041
split-complementary
#505E40 #40415E #5D405E
monochromatic
#12150E #313A27 #505E40 #6F8259 #8EA276

Accessibility & contrast

On white

6.96
#505E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #505E40
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505E40#FFFFFF#000000##FFFFFF
##505E401.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3E
Deuteranopia (green-blind)
#5F5941
Tritanopia (blue-blind)
#515B56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505e40;
/* rgb */ color: rgb(80, 94, 64);
/* oklch */ color: oklch(46.1% 0.050 128.5);
Tailwind
colors: {
  custom: {
    50: '#818b75',
    500: '#505e40',
    950: '#000000',
  },
}
SCSS
$custom: #505e40;
$custom-light: #818b75;
$custom-dark: #000000;
JSON
{
  "hex": "#505e40",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 64
  },
  "hsl": {
    "h": 88,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.04969,
    "h": 128.5
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#505E40
secondary
#7C6C8D
accent
#6CBC91
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #505E40

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

Preview Lab → · Contrast checker → · Palette generator →

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