#8C8A02

#8c8a02 ≈ Olive

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

#8c8a02 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 54.9% red, 54.12% green and 0.78% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 98.57% yellow and 45.1% black. Its hue angle is 59.13°, with 97.18% saturation and 27.84% 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.75:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 3.95.

Description generated from the measured properties of this color.

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

Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #88876a ≈ 0.001% of males
Protanopia #978400 ≈ 1.01% of males
Deuteranopia #988817 ≈ 1.27% of males
Tritanopia #978075 ≈ 0.0001% of males
Protanomaly #928600 ≈ 1.08% of males
Deuteranomaly #938910 ≈ 4.63% of males
Tritanomaly #93845c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8c8a02 {
  color: #8c8a02;
}
Background
.bg-8c8a02 {
  background-color: #8c8a02;
  color: #000000;
}
Border
.border-8c8a02 {
  border: 2px solid #8c8a02;
}
CSS variables
:root {
  --color-primary: #8c8a02;
  --color-primary-rgb: 140 138 2;
  --color-primary-hsl: 59 97% 28%;
}
Gradient
.gradient-8c8a02 {
  background: linear-gradient(135deg, #8c8a02, #498c02);
}
Colored shadow
.shadow-8c8a02 {
  box-shadow: 0 8px 24px rgb(140 138 2 / 0.35);
}

Olive
#8c8a02  rgb(140, 138, 2)  hsl(59, 97%, 28%)  Olive
#02048c  rgb(2, 4, 140)  hsl(239, 97%, 28%)  Dark Blue
#028c8a  rgb(2, 140, 138)  hsl(179, 97%, 28%)  Dark Cyan
#8a028c  rgb(138, 2, 140)  hsl(299, 97%, 28%)  Dark Magenta