#797D2F

#797d2f ≈ Olive

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

#797d2f is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.45% red, 49.02% green and 18.43% blue; printed in CMYK it uses 3.2% cyan, 0% magenta, 62.4% yellow and 50.98% black. Its hue angle is 63.08°, with 45.35% saturation and 33.73% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and corporate identities. Black text on this color reaches a contrast ratio of 4.79:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.4.

Description generated from the measured properties of this color.

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

Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #797a63 ≈ 0.001% of males
Protanopia #867726 ≈ 1.01% of males
Deuteranopia #867934 ≈ 1.27% of males
Tritanopia #81766c ≈ 0.0001% of males
Protanomaly #817a2a ≈ 1.08% of males
Deuteranomaly #817b32 ≈ 4.63% of males
Tritanomaly #7e795a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797d2f {
  color: #797d2f;
}
Background
.bg-797d2f {
  background-color: #797d2f;
  color: #000000;
}
Border
.border-797d2f {
  border: 2px solid #797d2f;
}
CSS variables
:root {
  --color-primary: #797d2f;
  --color-primary-rgb: 121 125 47;
  --color-primary-hsl: 63 45% 34%;
}
Gradient
.gradient-797d2f {
  background: linear-gradient(135deg, #797d2f, #527d2f);
}
Colored shadow
.shadow-797d2f {
  box-shadow: 0 8px 24px rgb(121 125 47 / 0.35);
}

Olive
#797d2f  rgb(121, 125, 47)  hsl(63, 45%, 34%)  Olive
#332f7d  rgb(51, 47, 125)  hsl(243, 45%, 34%)  Dark Slate Blue
#2f797d  rgb(47, 121, 125)  hsl(183, 45%, 34%)  Myrtle Green
#7d2f79  rgb(125, 47, 121)  hsl(303, 45%, 34%)  Byzantium