#797126

#797126 ≈ Olive

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

#797126 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.45% red, 44.31% green and 14.9% blue; printed in CMYK it uses 0% cyan, 6.61% magenta, 68.6% yellow and 52.55% black. Its hue angle is 54.22°, with 52.2% saturation and 31.18% 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. White text on this color reaches a contrast ratio of 5:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.33.

Description generated from the measured properties of this color.

Conversions of #797126 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.1602

Readable text 5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #73705b ≈ 0.001% of males
Protanopia #7b6d1c ≈ 1.01% of males
Deuteranopia #7e712a ≈ 1.27% of males
Tritanopia #826962 ≈ 0.0001% of males
Protanomaly #7a6f20 ≈ 1.08% of males
Deuteranomaly #7c7129 ≈ 4.63% of males
Tritanomaly #7f6c50 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797126 {
  color: #797126;
}
Background
.bg-797126 {
  background-color: #797126;
  color: #ffffff;
}
Border
.border-797126 {
  border: 2px solid #797126;
}
CSS variables
:root {
  --color-primary: #797126;
  --color-primary-rgb: 121 113 38;
  --color-primary-hsl: 54 52% 31%;
}
Gradient
.gradient-797126 {
  background: linear-gradient(135deg, #797126, #587926);
}
Colored shadow
.shadow-797126 {
  box-shadow: 0 8px 24px rgb(121 113 38 / 0.35);
}

Olive
#797126  rgb(121, 113, 38)  hsl(54, 52%, 31%)  Olive
#262e79  rgb(38, 46, 121)  hsl(234, 52%, 31%)  Smalt
#267971  rgb(38, 121, 113)  hsl(174, 52%, 31%)  Myrtle Green
#712679  rgb(113, 38, 121)  hsl(294, 52%, 31%)  Eminence