#786F0F

#786f0f ≈ Olive

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

#786f0f 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.88% blue; printed in CMYK it uses 0% cyan, 7.5% magenta, 87.5% yellow and 52.94% black. Its hue angle is 54.86°, with 77.78% saturation and 26.47% 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.82.

Description generated from the measured properties of this color.

Conversions of #786f0f 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.154

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 #726e57 ≈ 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 #7b6f15 ≈ 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-786f0f {
  color: #786f0f;
}
Background
.bg-786f0f {
  background-color: #786f0f;
  color: #ffffff;
}
Border
.border-786f0f {
  border: 2px solid #786f0f;
}
CSS variables
:root {
  --color-primary: #786f0f;
  --color-primary-rgb: 120 111 15;
  --color-primary-hsl: 55 78% 26%;
}
Gradient
.gradient-786f0f {
  background: linear-gradient(135deg, #786f0f, #4c780f);
}
Colored shadow
.shadow-786f0f {
  box-shadow: 0 8px 24px rgb(120 111 15 / 0.35);
}

Olive
#786f0f  rgb(120, 111, 15)  hsl(55, 78%, 26%)  Olive
#0f1878  rgb(15, 24, 120)  hsl(235, 78%, 26%)  Midnight Blue
#0f786f  rgb(15, 120, 111)  hsl(175, 78%, 26%)  Pine Green
#6f0f78  rgb(111, 15, 120)  hsl(295, 78%, 26%)  Purple