#504C2E

#504c2e ≈ Rifle Green

  • yellow
  • Lightness: low
  • Saturation: muted
  • Warm

#504c2e is a color from the yellow family, with low lightness and muted saturation. In the RGB model it is made of 31.37% red, 29.8% green and 18.04% blue; printed in CMYK it uses 0% cyan, 5% magenta, 42.5% yellow and 68.63% black. Its hue angle is 52.94°, with 26.98% saturation and 24.71% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and corporate identities. White text on this color reaches a contrast ratio of 8.7:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 7.03.

Description generated from the measured properties of this color.

Conversions of #504c2e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663333
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0707

Readable text 8.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4d4c41 ≈ 0.001% of males
Protanopia #514a2c ≈ 1.01% of males
Deuteranopia #534c2f ≈ 1.27% of males
Tritanopia #554844 ≈ 0.0001% of males
Protanomaly #514b2d ≈ 1.08% of males
Deuteranomaly #524c2f ≈ 4.63% of males
Tritanomaly #534a3d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-504c2e {
  color: #504c2e;
}
Background
.bg-504c2e {
  background-color: #504c2e;
  color: #ffffff;
}
Border
.border-504c2e {
  border: 2px solid #504c2e;
}
CSS variables
:root {
  --color-primary: #504c2e;
  --color-primary-rgb: 80 76 46;
  --color-primary-hsl: 53 27% 25%;
}
Gradient
.gradient-504c2e {
  background: linear-gradient(135deg, #504c2e, #43502e);
}
Colored shadow
.shadow-504c2e {
  box-shadow: 0 8px 24px rgb(80 76 46 / 0.35);
}

Rifle Green
#504c2e  rgb(80, 76, 46)  hsl(53, 27%, 25%)  Rifle Green
#2e3250  rgb(46, 50, 80)  hsl(233, 27%, 25%)  Oxford Blue
#2e504c  rgb(46, 80, 76)  hsl(173, 27%, 25%)  Dark Slate Gray
#4c2e50  rgb(76, 46, 80)  hsl(293, 27%, 25%)  Eggplant