#8A7E02

#8a7e02 ≈ Olive

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

#8a7e02 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 54.12% red, 49.41% green and 0.78% blue; printed in CMYK it uses 0% cyan, 8.7% magenta, 98.55% yellow and 45.88% black. Its hue angle is 54.71°, 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 5.07:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 3.58.

Description generated from the measured properties of this color.

Conversions of #8a7e02 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.2033

Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #827d62 ≈ 0.001% of males
Protanopia #8b7a00 ≈ 1.01% of males
Deuteranopia #8f7f13 ≈ 1.27% of males
Tritanopia #96746b ≈ 0.0001% of males
Protanomaly #8b7b00 ≈ 1.08% of males
Deuteranomaly #8d7e0d ≈ 4.63% of males
Tritanomaly #917854 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Olive
#8a7e02  rgb(138, 126, 2)  hsl(55, 97%, 27%)  Olive
#020e8a  rgb(2, 14, 138)  hsl(235, 97%, 27%)  Phthalo Blue
#028a7e  rgb(2, 138, 126)  hsl(175, 97%, 27%)  Dark Cyan
#7e028a  rgb(126, 2, 138)  hsl(295, 97%, 27%)  Purple