#786F2A

#786f2a ≈ Olive

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

#786f2a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 43.53% green and 16.47% blue; printed in CMYK it uses 0% cyan, 7.5% magenta, 65% yellow and 52.94% black. Its hue angle is 53.08°, with 48.15% saturation and 31.76% 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.11:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.51.

Description generated from the measured properties of this color.

Conversions of #786f2a 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.1553

Readable text 5.11:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #726e5a ≈ 0.001% of males
Protanopia #796c22 ≈ 1.01% of males
Deuteranopia #7c702e ≈ 1.27% of males
Tritanopia #816760 ≈ 0.0001% of males
Protanomaly #796d25 ≈ 1.08% of males
Deuteranomaly #7a6f2c ≈ 4.63% of males
Tritanomaly #7d6b50 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786f2a {
  color: #786f2a;
}
Background
.bg-786f2a {
  background-color: #786f2a;
  color: #ffffff;
}
Border
.border-786f2a {
  border: 2px solid #786f2a;
}
CSS variables
:root {
  --color-primary: #786f2a;
  --color-primary-rgb: 120 111 42;
  --color-primary-hsl: 53 48% 32%;
}
Gradient
.gradient-786f2a {
  background: linear-gradient(135deg, #786f2a, #5a782a);
}
Colored shadow
.shadow-786f2a {
  box-shadow: 0 8px 24px rgb(120 111 42 / 0.35);
}

Olive
#786f2a  rgb(120, 111, 42)  hsl(53, 48%, 32%)  Olive
#2a3378  rgb(42, 51, 120)  hsl(233, 48%, 32%)  Smalt
#2a786f  rgb(42, 120, 111)  hsl(173, 48%, 32%)  Myrtle Green
#6f2a78  rgb(111, 42, 120)  hsl(293, 48%, 32%)  Eminence