#8F8A02

#8f8a02 ≈ Olive

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

#8f8a02 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 56.08% red, 54.12% green and 0.78% blue; printed in CMYK it uses 0% cyan, 3.5% magenta, 98.6% yellow and 43.92% black. Its hue angle is 57.87°, with 97.24% saturation and 28.43% 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.8:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 4.37.

Description generated from the measured properties of this color.

Conversions of #8f8a02 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.2402

Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #8a886a ≈ 0.001% of males
Protanopia #978400 ≈ 1.01% of males
Deuteranopia #998816 ≈ 1.27% of males
Tritanopia #9a8075 ≈ 0.0001% of males
Protanomaly #948700 ≈ 1.08% of males
Deuteranomaly #958910 ≈ 4.63% of males
Tritanomaly #96845c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Olive
#8f8a02  rgb(143, 138, 2)  hsl(58, 97%, 28%)  Olive
#02078f  rgb(2, 7, 143)  hsl(238, 97%, 28%)  Dark Blue
#028f8a  rgb(2, 143, 138)  hsl(178, 97%, 28%)  Dark Cyan
#8a028f  rgb(138, 2, 143)  hsl(298, 97%, 28%)  Dark Magenta