#505D2E#505D2E

#505D2E is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.5% C 0.071 H 122.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#505D2E
RGBrgb(80, 93, 46)
HSLhsl(77, 34%, 27%)
HSVhsv(77, 51%, 36%)
CMYKcmyk(14%, 0%, 50.5%, 63.5%)
CIE-LABlab(37.36, -13.49, 25.20)
CIE-LCHlch(37.36, 28.58, 118.16°)
OKLaboklab(45.53% -0.0377 0.0604)
OKLCHoklch(45.53% 0.071 122)
XYZxyz(7.7158, 9.7314, 4.0561)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505D2E #3B2E5D
analogous
#5D532E #505D2E #385D2E
triadic
#505D2E #2E505D #5D2E50
tetradic
#505D2E #2E5D53 #3B2E5D #5D2E38
square
#505D2E #2E5D53 #3B2E5D #5D2E38
split-complementary
#505D2E #2E385D #532E5D
monochromatic
#12140A #2D341A #505D2E #738642 #95AD59

Accessibility & contrast

On white

7.13
#505D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#505D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505D2E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505D2E#FFFFFF#000000##FFFFFF
##505D2E1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582A
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#535952
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505d2e;
/* rgb */ color: rgb(80, 93, 46);
/* oklch */ color: oklch(45.5% 0.071 122.0);
Tailwind
colors: {
  custom: {
    50: '#828b68',
    500: '#505d2e',
    950: '#000000',
  },
}
SCSS
$custom: #505d2e;
$custom-light: #828b68;
$custom-dark: #000000;
JSON
{
  "hex": "#505d2e",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 46
  },
  "hsl": {
    "h": 76.596,
    "s": 33.813,
    "l": 27.255
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.07124,
    "h": 122
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#505D2E
secondary
#67588F
accent
#5ECA7C
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0B06
muted
#7C7C7A

Preview Lab

Preview with #505D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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