#799E2A

#799e2a ≈ Olive Drab

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

#799e2a 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, 61.96% green and 16.47% blue; printed in CMYK it uses 23.42% cyan, 0% magenta, 73.42% yellow and 38.04% black. Its hue angle is 79.14°, with 58% saturation and 39.22% 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 6.74:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 5.43.

Description generated from the measured properties of this color.

Conversions of #799e2a 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.2869

Readable text 3.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #899776 ≈ 0.001% of males
Protanopia #a79314 ≈ 1.01% of males
Deuteranopia #a29134 ≈ 1.27% of males
Tritanopia #7e9688 ≈ 0.0001% of males
Protanomaly #96981f ≈ 1.08% of males
Deuteranomaly #939731 ≈ 4.63% of males
Tritanomaly #7c996e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-799e2a {
  color: #799e2a;
}
Background
.bg-799e2a {
  background-color: #799e2a;
  color: #000000;
}
Border
.border-799e2a {
  border: 2px solid #799e2a;
}
CSS variables
:root {
  --color-primary: #799e2a;
  --color-primary-rgb: 121 158 42;
  --color-primary-hsl: 79 58% 39%;
}
Gradient
.gradient-799e2a {
  background: linear-gradient(135deg, #799e2a, #3f9e2a);
}
Colored shadow
.shadow-799e2a {
  box-shadow: 0 8px 24px rgb(121 158 42 / 0.35);
}

Olive Drab
#799e2a  rgb(121, 158, 42)  hsl(79, 58%, 39%)  Olive Drab
#4f2a9e  rgb(79, 42, 158)  hsl(259, 58%, 39%)  Rebecca Purple
#2a799e  rgb(42, 121, 158)  hsl(199, 58%, 39%)  Cerulean
#9e2a79  rgb(158, 42, 121)  hsl(319, 58%, 39%)  Deep Plum