#786C08

#786c08 ≈ Olive

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

#786c08 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 42.35% green and 3.14% blue; printed in CMYK it uses 0% cyan, 10% magenta, 93.33% yellow and 52.94% black. Its hue angle is 53.57°, with 87.5% saturation and 25.1% 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.32:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.99.

Description generated from the measured properties of this color.

Conversions of #786c08 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.1474

Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #706b54 ≈ 0.001% of males
Protanopia #776800 ≈ 1.01% of males
Deuteranopia #7b6d13 ≈ 1.27% of males
Tritanopia #82635b ≈ 0.0001% of males
Protanomaly #786a00 ≈ 1.08% of males
Deuteranomaly #7a6d0f ≈ 4.63% of males
Tritanomaly #7e6748 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786c08 {
  color: #786c08;
}
Background
.bg-786c08 {
  background-color: #786c08;
  color: #ffffff;
}
Border
.border-786c08 {
  border: 2px solid #786c08;
}
CSS variables
:root {
  --color-primary: #786c08;
  --color-primary-rgb: 120 108 8;
  --color-primary-hsl: 54 88% 25%;
}
Gradient
.gradient-786c08 {
  background: linear-gradient(135deg, #786c08, #4c7808);
}
Colored shadow
.shadow-786c08 {
  box-shadow: 0 8px 24px rgb(120 108 8 / 0.35);
}

Olive
#786c08  rgb(120, 108, 8)  hsl(54, 88%, 25%)  Olive
#081478  rgb(8, 20, 120)  hsl(234, 88%, 25%)  Midnight Blue
#08786c  rgb(8, 120, 108)  hsl(174, 88%, 25%)  Pine Green
#6c0878  rgb(108, 8, 120)  hsl(294, 88%, 25%)  Purple