#628C2D

#628c2d ≈ Olive Drab

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

#628c2d 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.9% green and 17.65% blue; printed in CMYK it uses 30% cyan, 0% magenta, 67.86% yellow and 45.1% black. Its hue angle is 86.53°, with 51.35% saturation and 36.27% 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.31:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 2.73.

Description generated from the measured properties of this color.

Conversions of #628c2d 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.2154

Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #758568 ≈ 0.001% of males
Protanopia #928220 ≈ 1.01% of males
Deuteranopia #8d7f35 ≈ 1.27% of males
Tritanopia #648679 ≈ 0.0001% of males
Protanomaly #828626 ≈ 1.08% of males
Deuteranomaly #7e8432 ≈ 4.63% of males
Tritanomaly #638863 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-628c2d {
  color: #628c2d;
}
Background
.bg-628c2d {
  background-color: #628c2d;
  color: #000000;
}
Border
.border-628c2d {
  border: 2px solid #628c2d;
}
CSS variables
:root {
  --color-primary: #628c2d;
  --color-primary-rgb: 98 140 45;
  --color-primary-hsl: 87 51% 36%;
}
Gradient
.gradient-628c2d {
  background: linear-gradient(135deg, #628c2d, #328c2d);
}
Colored shadow
.shadow-628c2d {
  box-shadow: 0 8px 24px rgb(98 140 45 / 0.35);
}

Olive Drab
#628c2d  rgb(98, 140, 45)  hsl(87, 51%, 36%)  Olive Drab
#572d8c  rgb(87, 45, 140)  hsl(267, 51%, 36%)  Rebecca Purple
#2d628c  rgb(45, 98, 140)  hsl(207, 51%, 36%)  Lapis Lazuli
#8c2d62  rgb(140, 45, 98)  hsl(327, 51%, 36%)  Boysenberry