#8A7802

#8a7802 ≈ Olive

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#8a7802 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 54.12% red, 47.06% green and 0.78% blue; printed in CMYK it uses 0% cyan, 13.04% magenta, 98.55% yellow and 45.88% black. Its hue angle is 52.06°, with 97.14% saturation and 27.45% 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. Black text on this color reaches a contrast ratio of 4.77:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.78.

Description generated from the measured properties of this color.

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

Readable text 4.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #80785f ≈ 0.001% of males
Protanopia #857500 ≈ 1.01% of males
Deuteranopia #8a7b11 ≈ 1.27% of males
Tritanopia #966e65 ≈ 0.0001% of males
Protanomaly #877600 ≈ 1.08% of males
Deuteranomaly #8a7a0c ≈ 4.63% of males
Tritanomaly #91724f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7802 {
  color: #8a7802;
}
Background
.bg-8a7802 {
  background-color: #8a7802;
  color: #000000;
}
Border
.border-8a7802 {
  border: 2px solid #8a7802;
}
CSS variables
:root {
  --color-primary: #8a7802;
  --color-primary-rgb: 138 120 2;
  --color-primary-hsl: 52 97% 27%;
}
Gradient
.gradient-8a7802 {
  background: linear-gradient(135deg, #8a7802, #588a02);
}
Colored shadow
.shadow-8a7802 {
  box-shadow: 0 8px 24px rgb(138 120 2 / 0.35);
}

Olive
#8a7802  rgb(138, 120, 2)  hsl(52, 97%, 27%)  Olive
#02148a  rgb(2, 20, 138)  hsl(232, 97%, 27%)  Phthalo Blue
#028a78  rgb(2, 138, 120)  hsl(172, 97%, 27%)  Viridian
#78028a  rgb(120, 2, 138)  hsl(292, 97%, 27%)  Purple