#628A2A

#628a2a ≈ Olive Drab

  • yellow-green
  • Lightness: low
  • Saturation: moderate
  • Balanced

#628a2a is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 38.43% red, 54.12% green and 16.47% blue; printed in CMYK it uses 28.99% cyan, 0% magenta, 69.57% yellow and 45.88% black. Its hue angle is 85°, with 53.33% saturation and 35.29% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and brand accents. Black text on this color reaches a contrast ratio of 5.19:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 2.68.

Description generated from the measured properties of this color.

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

Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #748367 ≈ 0.001% of males
Protanopia #91801c ≈ 1.01% of males
Deuteranopia #8b7d32 ≈ 1.27% of males
Tritanopia #658477 ≈ 0.0001% of males
Protanomaly #808422 ≈ 1.08% of males
Deuteranomaly #7d832f ≈ 4.63% of males
Tritanomaly #648661 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-628a2a {
  color: #628a2a;
}
Background
.bg-628a2a {
  background-color: #628a2a;
  color: #000000;
}
Border
.border-628a2a {
  border: 2px solid #628a2a;
}
CSS variables
:root {
  --color-primary: #628a2a;
  --color-primary-rgb: 98 138 42;
  --color-primary-hsl: 85 53% 35%;
}
Gradient
.gradient-628a2a {
  background: linear-gradient(135deg, #628a2a, #328a2a);
}
Colored shadow
.shadow-628a2a {
  box-shadow: 0 8px 24px rgb(98 138 42 / 0.35);
}

Olive Drab
#628a2a  rgb(98, 138, 42)  hsl(85, 53%, 35%)  Olive Drab
#522a8a  rgb(82, 42, 138)  hsl(265, 53%, 35%)  Rebecca Purple
#2a628a  rgb(42, 98, 138)  hsl(205, 53%, 35%)  Lapis Lazuli
#8a2a62  rgb(138, 42, 98)  hsl(325, 53%, 35%)  Boysenberry