#798E17

#798e17 ≈ Olive Drab

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

#798e17 is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 47.45% red, 55.69% green and 9.02% blue; printed in CMYK it uses 14.79% cyan, 0% magenta, 83.8% yellow and 44.31% black. Its hue angle is 70.59°, with 72.12% saturation and 32.35% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and corporate identities. Black text on this color reaches a contrast ratio of 5.69:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 3.88.

Description generated from the measured properties of this color.

Conversions of #798e17 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.2347

Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #80896a ≈ 0.001% of males
Protanopia #988500 ≈ 1.01% of males
Deuteranopia #958524 ≈ 1.27% of males
Tritanopia #818679 ≈ 0.0001% of males
Protanomaly #8c8902 ≈ 1.08% of males
Deuteranomaly #8b891f ≈ 4.63% of males
Tritanomaly #7e8960 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-798e17 {
  color: #798e17;
}
Background
.bg-798e17 {
  background-color: #798e17;
  color: #000000;
}
Border
.border-798e17 {
  border: 2px solid #798e17;
}
CSS variables
:root {
  --color-primary: #798e17;
  --color-primary-rgb: 121 142 23;
  --color-primary-hsl: 71 72% 32%;
}
Gradient
.gradient-798e17 {
  background: linear-gradient(135deg, #798e17, #3d8e17);
}
Colored shadow
.shadow-798e17 {
  box-shadow: 0 8px 24px rgb(121 142 23 / 0.35);
}

Olive Drab
#798e17  rgb(121, 142, 23)  hsl(71, 72%, 32%)  Olive Drab
#2c178e  rgb(44, 23, 142)  hsl(251, 72%, 32%)  Phthalo Blue
#17798e  rgb(23, 121, 142)  hsl(191, 72%, 32%)  Teal Blue
#8e1779  rgb(142, 23, 121)  hsl(311, 72%, 32%)  Mardi Gras