#787D1C

#787d1c ≈ Olive

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

#787d1c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 49.02% green and 10.98% blue; printed in CMYK it uses 4% cyan, 0% magenta, 77.6% yellow and 50.98% black. Its hue angle is 63.09°, with 63.4% saturation and 30% 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 corporate identities. Black text on this color reaches a contrast ratio of 4.75:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 3.34.

Description generated from the measured properties of this color.

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

Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #787a60 ≈ 0.001% of males
Protanopia #877705 ≈ 1.01% of males
Deuteranopia #877924 ≈ 1.27% of males
Tritanopia #81756b ≈ 0.0001% of males
Protanomaly #817911 ≈ 1.08% of males
Deuteranomaly #817b21 ≈ 4.63% of males
Tritanomaly #7d7856 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787d1c {
  color: #787d1c;
}
Background
.bg-787d1c {
  background-color: #787d1c;
  color: #000000;
}
Border
.border-787d1c {
  border: 2px solid #787d1c;
}
CSS variables
:root {
  --color-primary: #787d1c;
  --color-primary-rgb: 120 125 28;
  --color-primary-hsl: 63 63% 30%;
}
Gradient
.gradient-787d1c {
  background: linear-gradient(135deg, #787d1c, #487d1c);
}
Colored shadow
.shadow-787d1c {
  box-shadow: 0 8px 24px rgb(120 125 28 / 0.35);
}

Olive
#787d1c  rgb(120, 125, 28)  hsl(63, 63%, 30%)  Olive
#211c7d  rgb(33, 28, 125)  hsl(243, 63%, 30%)  Midnight Blue
#1c787d  rgb(28, 120, 125)  hsl(183, 63%, 30%)  Teal
#7d1c78  rgb(125, 28, 120)  hsl(303, 63%, 30%)  Purple