#9C862B

#9c862b ≈ Olive

  • yellow
  • Lightness: low
  • Saturation: moderate
  • Warm

#9c862b is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 61.18% red, 52.55% green and 16.86% blue; printed in CMYK it uses 0% cyan, 14.1% magenta, 72.44% yellow and 38.82% black. Its hue angle is 48.32°, with 56.78% saturation and 39.02% 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 brand accents. Black text on this color reaches a contrast ratio of 5.86:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.13.

Description generated from the measured properties of this color.

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

Readable text 3.58:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #90876e ≈ 0.001% of males
Protanopia #94831e ≈ 1.01% of males
Deuteranopia #9a8a30 ≈ 1.27% of males
Tritanopia #a97b74 ≈ 0.0001% of males
Protanomaly #978424 ≈ 1.08% of males
Deuteranomaly #9b882e ≈ 4.63% of males
Tritanomaly #a4805f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9c862b {
  color: #9c862b;
}
Background
.bg-9c862b {
  background-color: #9c862b;
  color: #000000;
}
Border
.border-9c862b {
  border: 2px solid #9c862b;
}
CSS variables
:root {
  --color-primary: #9c862b;
  --color-primary-rgb: 156 134 43;
  --color-primary-hsl: 48 57% 39%;
}
Gradient
.gradient-9c862b {
  background: linear-gradient(135deg, #9c862b, #799c2b);
}
Colored shadow
.shadow-9c862b {
  box-shadow: 0 8px 24px rgb(156 134 43 / 0.35);
}

Olive
#9c862b  rgb(156, 134, 43)  hsl(48, 57%, 39%)  Olive
#2b419c  rgb(43, 65, 156)  hsl(228, 57%, 39%)  Cobalt Blue
#2b9c86  rgb(43, 156, 134)  hsl(168, 57%, 39%)  Persian Green
#862b9c  rgb(134, 43, 156)  hsl(288, 57%, 39%)  Dark Magenta