#786E2F

#786e2f ≈ Olive

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

#786e2f 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.14% green and 18.43% blue; printed in CMYK it uses 0% cyan, 8.33% magenta, 60.83% yellow and 52.94% black. Its hue angle is 51.78°, with 43.71% saturation and 32.75% 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.16:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 9.52.

Description generated from the measured properties of this color.

Conversions of #786e2f 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.1535

Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #726e5b ≈ 0.001% of males
Protanopia #786b28 ≈ 1.01% of males
Deuteranopia #7b6f32 ≈ 1.27% of males
Tritanopia #816760 ≈ 0.0001% of males
Protanomaly #786c2b ≈ 1.08% of males
Deuteranomaly #7a6f31 ≈ 4.63% of males
Tritanomaly #7d6a51 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786e2f {
  color: #786e2f;
}
Background
.bg-786e2f {
  background-color: #786e2f;
  color: #ffffff;
}
Border
.border-786e2f {
  border: 2px solid #786e2f;
}
CSS variables
:root {
  --color-primary: #786e2f;
  --color-primary-rgb: 120 110 47;
  --color-primary-hsl: 52 44% 33%;
}
Gradient
.gradient-786e2f {
  background: linear-gradient(135deg, #786e2f, #5e782f);
}
Colored shadow
.shadow-786e2f {
  box-shadow: 0 8px 24px rgb(120 110 47 / 0.35);
}

Olive
#786e2f  rgb(120, 110, 47)  hsl(52, 44%, 33%)  Olive
#2f3978  rgb(47, 57, 120)  hsl(232, 44%, 33%)  Dark Slate Blue
#2f786e  rgb(47, 120, 110)  hsl(172, 44%, 33%)  Myrtle Green
#6e2f78  rgb(110, 47, 120)  hsl(292, 44%, 33%)  Eminence