#628E02

#628e02 ≈ Olive Drab

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

#628e02 is a color from the yellow-green family, with low lightness and strong saturation. In the RGB model it is made of 38.43% red, 55.69% green and 0.78% blue; printed in CMYK it uses 30.99% cyan, 0% magenta, 98.59% yellow and 44.31% black. Its hue angle is 78.86°, with 97.22% saturation and 28.24% 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 luxury branding. Black text on this color reaches a contrast ratio of 5.39:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 2.42.

Description generated from the measured properties of this color.

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

Readable text 3.9:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #768666 ≈ 0.001% of males
Protanopia #968300 ≈ 1.01% of males
Deuteranopia #90801b ≈ 1.27% of males
Tritanopia #668778 ≈ 0.0001% of males
Protanomaly #848800 ≈ 1.08% of males
Deuteranomaly #808613 ≈ 4.63% of males
Tritanomaly #648a5e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-628e02 {
  color: #628e02;
}
Background
.bg-628e02 {
  background-color: #628e02;
  color: #000000;
}
Border
.border-628e02 {
  border: 2px solid #628e02;
}
CSS variables
:root {
  --color-primary: #628e02;
  --color-primary-rgb: 98 142 2;
  --color-primary-hsl: 79 97% 28%;
}
Gradient
.gradient-628e02 {
  background: linear-gradient(135deg, #628e02, #1c8e02);
}
Colored shadow
.shadow-628e02 {
  box-shadow: 0 8px 24px rgb(98 142 2 / 0.35);
}

Olive Drab
#628e02  rgb(98, 142, 2)  hsl(79, 97%, 28%)  Olive Drab
#2e028e  rgb(46, 2, 142)  hsl(259, 97%, 28%)  Dark Blue
#02628e  rgb(2, 98, 142)  hsl(199, 97%, 28%)  Sea Blue
#8e0262  rgb(142, 2, 98)  hsl(319, 97%, 28%)  Boysenberry