#628D28

#628d28 ≈ Olive Drab

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

#628d28 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, 55.29% green and 15.69% blue; printed in CMYK it uses 30.5% cyan, 0% magenta, 71.63% yellow and 44.71% black. Its hue angle is 85.54°, with 55.8% saturation and 35.49% 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.36:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 2.19.

Description generated from the measured properties of this color.

Conversions of #628d28 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.218

Readable text 3.92:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #768668 ≈ 0.001% of males
Protanopia #948318 ≈ 1.01% of males
Deuteranopia #8e8031 ≈ 1.27% of males
Tritanopia #658779 ≈ 0.0001% of males
Protanomaly #83871f ≈ 1.08% of males
Deuteranomaly #7e852e ≈ 4.63% of males
Tritanomaly #648962 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-628d28 {
  color: #628d28;
}
Background
.bg-628d28 {
  background-color: #628d28;
  color: #000000;
}
Border
.border-628d28 {
  border: 2px solid #628d28;
}
CSS variables
:root {
  --color-primary: #628d28;
  --color-primary-rgb: 98 141 40;
  --color-primary-hsl: 86 56% 35%;
}
Gradient
.gradient-628d28 {
  background: linear-gradient(135deg, #628d28, #308d28);
}
Colored shadow
.shadow-628d28 {
  box-shadow: 0 8px 24px rgb(98 141 40 / 0.35);
}

Olive Drab
#628d28  rgb(98, 141, 40)  hsl(86, 56%, 35%)  Olive Drab
#53288d  rgb(83, 40, 141)  hsl(266, 56%, 35%)  Rebecca Purple
#28628d  rgb(40, 98, 141)  hsl(206, 56%, 35%)  Lapis Lazuli
#8d2862  rgb(141, 40, 98)  hsl(326, 56%, 35%)  Boysenberry