#987E1C

#987e1c ≈ Olive

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

#987e1c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 59.61% red, 49.41% green and 10.98% blue; printed in CMYK it uses 0% cyan, 17.11% magenta, 81.58% yellow and 40.39% black. Its hue angle is 47.42°, with 68.89% saturation and 35.29% 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.34:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.33.

Description generated from the measured properties of this color.

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

Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #8a7f67 ≈ 0.001% of males
Protanopia #8d7c03 ≈ 1.01% of males
Deuteranopia #938323 ≈ 1.27% of males
Tritanopia #a5736c ≈ 0.0001% of males
Protanomaly #917d10 ≈ 1.08% of males
Deuteranomaly #958120 ≈ 4.63% of males
Tritanomaly #a07857 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987e1c {
  color: #987e1c;
}
Background
.bg-987e1c {
  background-color: #987e1c;
  color: #000000;
}
Border
.border-987e1c {
  border: 2px solid #987e1c;
}
CSS variables
:root {
  --color-primary: #987e1c;
  --color-primary-rgb: 152 126 28;
  --color-primary-hsl: 47 69% 35%;
}
Gradient
.gradient-987e1c {
  background: linear-gradient(135deg, #987e1c, #74981c);
}
Colored shadow
.shadow-987e1c {
  box-shadow: 0 8px 24px rgb(152 126 28 / 0.35);
}

Olive
#987e1c  rgb(152, 126, 28)  hsl(47, 69%, 35%)  Olive
#1c3698  rgb(28, 54, 152)  hsl(227, 69%, 35%)  Smalt
#1c987e  rgb(28, 152, 126)  hsl(167, 69%, 35%)  Persian Green
#7e1c98  rgb(126, 28, 152)  hsl(287, 69%, 35%)  Dark Magenta