#515212

#515212 ≈ Army Green

  • yellow
  • Lightness: very low
  • Saturation: moderate
  • Warm

#515212 is a color from the yellow family, with very low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 32.16% green and 7.06% blue; printed in CMYK it uses 1.22% cyan, 0% magenta, 78.05% yellow and 67.84% black. Its hue angle is 60.94°, with 64% saturation and 19.61% 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 luxury branding. White text on this color reaches a contrast ratio of 8.19:1 (WCAG AAA). The closest named color is Army Green (#4b5320), ΔE 3.94.

Description generated from the measured properties of this color.

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

Readable text 8.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #50503f ≈ 0.001% of males
Protanopia #594e07 ≈ 1.01% of males
Deuteranopia #5a5017 ≈ 1.27% of males
Tritanopia #574c46 ≈ 0.0001% of males
Protanomaly #56500c ≈ 1.08% of males
Deuteranomaly #565115 ≈ 4.63% of males
Tritanomaly #554f37 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-515212 {
  color: #515212;
}
Background
.bg-515212 {
  background-color: #515212;
  color: #ffffff;
}
Border
.border-515212 {
  border: 2px solid #515212;
}
CSS variables
:root {
  --color-primary: #515212;
  --color-primary-rgb: 81 82 18;
  --color-primary-hsl: 61 64% 20%;
}
Gradient
.gradient-515212 {
  background: linear-gradient(135deg, #515212, #315212);
}
Colored shadow
.shadow-515212 {
  box-shadow: 0 8px 24px rgb(81 82 18 / 0.35);
}

Army Green
#515212  rgb(81, 82, 18)  hsl(61, 64%, 20%)  Army Green
#131252  rgb(19, 18, 82)  hsl(241, 64%, 20%)  Midnight Blue
#125152  rgb(18, 81, 82)  hsl(181, 64%, 20%)  Dark Slate Gray
#521251  rgb(82, 18, 81)  hsl(301, 64%, 20%)  Byzantium