#505C2E#505C2E

#505C2E is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.3% C 0.070 H 121.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#505C2E
RGBrgb(80, 92, 46)
HSLhsl(76, 33%, 27%)
HSVhsv(76, 50%, 36%)
CMYKcmyk(13%, 0%, 50%, 63.9%)
CIE-LABlab(37.04, -12.92, 24.80)
CIE-LCHlch(37.04, 27.97, 117.52°)
OKLaboklab(45.27% -0.0361 0.0596)
OKLCHoklch(45.27% 0.07 121.3)
XYZxyz(7.6286, 9.5570, 4.0270)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C2E #3A2E5C
analogous
#5C512E #505C2E #395C2E
triadic
#505C2E #2E505C #5C2E50
tetradic
#505C2E #2E5C51 #3A2E5C #5C2E39
square
#505C2E #2E5C51 #3A2E5C #5C2E39
split-complementary
#505C2E #2E395C #512E5C
monochromatic
#12140A #2D331A #505C2E #738542 #96AC59

Accessibility & contrast

On white

7.21
#505C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#505C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505C2E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505C2E#FFFFFF#000000##FFFFFF
##505C2E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61572A
Deuteranopia (green-blind)
#5F5730
Tritanopia (blue-blind)
#545851
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505c2e;
/* rgb */ color: rgb(80, 92, 46);
/* oklch */ color: oklch(45.3% 0.070 121.3);
Tailwind
colors: {
  custom: {
    50: '#828a68',
    500: '#505c2e',
    950: '#000000',
  },
}
SCSS
$custom: #505c2e;
$custom-light: #828a68;
$custom-dark: #000000;
JSON
{
  "hex": "#505c2e",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 46
  },
  "hsl": {
    "h": 75.652,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.06967,
    "h": 121.3
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#505C2E
secondary
#66588E
accent
#5EC97A
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0B06
muted
#7C7C7A

Preview Lab

Preview with #505C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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