#668C0F

#668c0f ≈ Olive Drab

  • yellow-green
  • Lightness: low
  • Saturation: moderate
  • Balanced

#668c0f is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 40% red, 54.9% green and 5.88% blue; printed in CMYK it uses 27.14% cyan, 0% magenta, 89.29% yellow and 45.1% black. Its hue angle is 78.24°, with 80.65% saturation and 30.39% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and corporate identities. Black text on this color reaches a contrast ratio of 5.32:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 1.74.

Description generated from the measured properties of this color.

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

Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #778566 ≈ 0.001% of males
Protanopia #948200 ≈ 1.01% of males
Deuteranopia #8f7f20 ≈ 1.27% of males
Tritanopia #6b8577 ≈ 0.0001% of males
Protanomaly #848600 ≈ 1.08% of males
Deuteranomaly #80851a ≈ 4.63% of males
Tritanomaly #69885e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-668c0f {
  color: #668c0f;
}
Background
.bg-668c0f {
  background-color: #668c0f;
  color: #000000;
}
Border
.border-668c0f {
  border: 2px solid #668c0f;
}
CSS variables
:root {
  --color-primary: #668c0f;
  --color-primary-rgb: 102 140 15;
  --color-primary-hsl: 78 81% 30%;
}
Gradient
.gradient-668c0f {
  background: linear-gradient(135deg, #668c0f, #278c0f);
}
Colored shadow
.shadow-668c0f {
  box-shadow: 0 8px 24px rgb(102 140 15 / 0.35);
}

Olive Drab
#668c0f  rgb(102, 140, 15)  hsl(78, 81%, 30%)  Olive Drab
#350f8c  rgb(53, 15, 140)  hsl(258, 81%, 30%)  Persian Indigo
#0f668c  rgb(15, 102, 140)  hsl(198, 81%, 30%)  Sea Blue
#8c0f66  rgb(140, 15, 102)  hsl(318, 81%, 30%)  Boysenberry