#786B12

#786b12 ≈ Olive

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

#786b12 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 41.96% green and 7.06% blue; printed in CMYK it uses 0% cyan, 10.83% magenta, 85% yellow and 52.94% black. Its hue angle is 52.35°, with 73.91% saturation and 27.06% 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.37:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.64.

Description generated from the measured properties of this color.

Conversions of #786b12 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.1455

Readable text 5.37:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.91:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #706b54 ≈ 0.001% of males
Protanopia #766800 ≈ 1.01% of males
Deuteranopia #7a6d19 ≈ 1.27% of males
Tritanopia #82625b ≈ 0.0001% of males
Protanomaly #776905 ≈ 1.08% of males
Deuteranomaly #796c17 ≈ 4.63% of males
Tritanomaly #7e6648 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786b12 {
  color: #786b12;
}
Background
.bg-786b12 {
  background-color: #786b12;
  color: #ffffff;
}
Border
.border-786b12 {
  border: 2px solid #786b12;
}
CSS variables
:root {
  --color-primary: #786b12;
  --color-primary-rgb: 120 107 18;
  --color-primary-hsl: 52 74% 27%;
}
Gradient
.gradient-786b12 {
  background: linear-gradient(135deg, #786b12, #527812);
}
Colored shadow
.shadow-786b12 {
  box-shadow: 0 8px 24px rgb(120 107 18 / 0.35);
}

Olive
#786b12  rgb(120, 107, 18)  hsl(52, 74%, 27%)  Olive
#121f78  rgb(18, 31, 120)  hsl(232, 74%, 27%)  Midnight Blue
#12786b  rgb(18, 120, 107)  hsl(172, 74%, 27%)  Pine Green
#6b1278  rgb(107, 18, 120)  hsl(292, 74%, 27%)  Purple