#7F7C1A

#7f7c1a ≈ Olive

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

#7f7c1a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 49.8% red, 48.63% green and 10.2% blue; printed in CMYK it uses 0% cyan, 2.36% magenta, 79.53% yellow and 50.2% black. Its hue angle is 58.22°, with 66.01% saturation and 30% 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.8:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 2.49.

Description generated from the measured properties of this color.

Conversions of #7f7c1a 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.19

Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #7b7a60 ≈ 0.001% of males
Protanopia #877701 ≈ 1.01% of males
Deuteranopia #897a22 ≈ 1.27% of males
Tritanopia #89736a ≈ 0.0001% of males
Protanomaly #84790e ≈ 1.08% of males
Deuteranomaly #857b1f ≈ 4.63% of males
Tritanomaly #857755 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f7c1a {
  color: #7f7c1a;
}
Background
.bg-7f7c1a {
  background-color: #7f7c1a;
  color: #000000;
}
Border
.border-7f7c1a {
  border: 2px solid #7f7c1a;
}
CSS variables
:root {
  --color-primary: #7f7c1a;
  --color-primary-rgb: 127 124 26;
  --color-primary-hsl: 58 66% 30%;
}
Gradient
.gradient-7f7c1a {
  background: linear-gradient(135deg, #7f7c1a, #4f7f1a);
}
Colored shadow
.shadow-7f7c1a {
  box-shadow: 0 8px 24px rgb(127 124 26 / 0.35);
}

Olive
#7f7c1a  rgb(127, 124, 26)  hsl(58, 66%, 30%)  Olive
#1a1d7f  rgb(26, 29, 127)  hsl(238, 66%, 30%)  Midnight Blue
#1a7f7c  rgb(26, 127, 124)  hsl(178, 66%, 30%)  Teal
#7c1a7f  rgb(124, 26, 127)  hsl(298, 66%, 30%)  Purple