#8A7902

#8a7902 ≈ Olive

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

#8a7902 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.45% green and 0.78% blue; printed in CMYK it uses 0% cyan, 12.32% magenta, 98.55% yellow and 45.88% black. Its hue angle is 52.5°, 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.82:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.38.

Description generated from the measured properties of this color.

Conversions of #8a7902 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.1908

Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #80795f ≈ 0.001% of males
Protanopia #867500 ≈ 1.01% of males
Deuteranopia #8b7b11 ≈ 1.27% of males
Tritanopia #966f66 ≈ 0.0001% of males
Protanomaly #887700 ≈ 1.08% of males
Deuteranomaly #8b7b0c ≈ 4.63% of males
Tritanomaly #917350 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Olive
#8a7902  rgb(138, 121, 2)  hsl(53, 97%, 27%)  Olive
#02138a  rgb(2, 19, 138)  hsl(233, 97%, 27%)  Phthalo Blue
#028a79  rgb(2, 138, 121)  hsl(173, 97%, 27%)  Viridian
#79028a  rgb(121, 2, 138)  hsl(293, 97%, 27%)  Purple