#786E1F

#786e1f ≈ Olive

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

#786e1f 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 12.16% blue; printed in CMYK it uses 0% cyan, 8.33% magenta, 74.17% yellow and 52.94% black. Its hue angle is 53.26°, with 58.94% saturation and 29.61% 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 luxury branding. White text on this color reaches a contrast ratio of 5.19:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.95.

Description generated from the measured properties of this color.

Conversions of #786e1f 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.1524

Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #716d58 ≈ 0.001% of males
Protanopia #796a12 ≈ 1.01% of males
Deuteranopia #7c6f24 ≈ 1.27% of males
Tritanopia #82665e ≈ 0.0001% of males
Protanomaly #786c18 ≈ 1.08% of males
Deuteranomaly #7a6e22 ≈ 4.63% of males
Tritanomaly #7e694c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786e1f {
  color: #786e1f;
}
Background
.bg-786e1f {
  background-color: #786e1f;
  color: #ffffff;
}
Border
.border-786e1f {
  border: 2px solid #786e1f;
}
CSS variables
:root {
  --color-primary: #786e1f;
  --color-primary-rgb: 120 110 31;
  --color-primary-hsl: 53 59% 30%;
}
Gradient
.gradient-786e1f {
  background: linear-gradient(135deg, #786e1f, #56781f);
}
Colored shadow
.shadow-786e1f {
  box-shadow: 0 8px 24px rgb(120 110 31 / 0.35);
}

Olive
#786e1f  rgb(120, 110, 31)  hsl(53, 59%, 30%)  Olive
#1f2978  rgb(31, 41, 120)  hsl(233, 59%, 30%)  Midnight Blue
#1f786e  rgb(31, 120, 110)  hsl(173, 59%, 30%)  Pine Green
#6e1f78  rgb(110, 31, 120)  hsl(293, 59%, 30%)  Eminence