#786F0E

#786f0e ≈ Olive

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

#786f0e 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 5.49% blue; printed in CMYK it uses 0% cyan, 7.5% magenta, 88.33% yellow and 52.94% black. Its hue angle is 54.91°, with 79.1% saturation and 26.27% 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.15:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.8.

Description generated from the measured properties of this color.

Conversions of #786f0e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666600
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1539

Readable text 5.15:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #726e56 ≈ 0.001% of males
Protanopia #7a6b00 ≈ 1.01% of males
Deuteranopia #7d6f18 ≈ 1.27% of males
Tritanopia #82665e ≈ 0.0001% of males
Protanomaly #796d00 ≈ 1.08% of males
Deuteranomaly #7b6f14 ≈ 4.63% of males
Tritanomaly #7e6a4a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786f0e {
  color: #786f0e;
}
Background
.bg-786f0e {
  background-color: #786f0e;
  color: #ffffff;
}
Border
.border-786f0e {
  border: 2px solid #786f0e;
}
CSS variables
:root {
  --color-primary: #786f0e;
  --color-primary-rgb: 120 111 14;
  --color-primary-hsl: 55 79% 26%;
}
Gradient
.gradient-786f0e {
  background: linear-gradient(135deg, #786f0e, #4c780e);
}
Colored shadow
.shadow-786f0e {
  box-shadow: 0 8px 24px rgb(120 111 14 / 0.35);
}

Olive
#786f0e  rgb(120, 111, 14)  hsl(55, 79%, 26%)  Olive
#0e1778  rgb(14, 23, 120)  hsl(235, 79%, 26%)  Midnight Blue
#0e786f  rgb(14, 120, 111)  hsl(175, 79%, 26%)  Pine Green
#6f0e78  rgb(111, 14, 120)  hsl(295, 79%, 26%)  Purple