#CCFF42

#ccff42 ≈ Electric Lime

  • yellow-green
  • Lightness: high
  • Saturation: strong
  • Balanced

#ccff42 is a color from the yellow-green family, with high lightness and strong saturation. In the RGB model it is made of 80% red, 100% green and 25.88% blue; printed in CMYK it uses 20% cyan, 0% magenta, 74.12% yellow and 0% black. Its hue angle is 76.19°, with 100% saturation and 62.94% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 17.95:1 (WCAG AAA). The closest named color is Electric Lime (#ccff00), ΔE 2.54.

Description generated from the measured properties of this color.

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

Readable text 1.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ededed ≈ 0.003% of males
Achromatomaly #e1f4c1 ≈ 0.001% of males
Protanopia #ffef14 ≈ 1.01% of males
Deuteranopia #ffed54 ≈ 1.27% of males
Tritanopia #d6f2db ≈ 0.0001% of males
Protanomaly #f6f52d ≈ 1.08% of males
Deuteranomaly #f1f44d ≈ 4.63% of males
Tritanomaly #d2f8b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccff42 {
  color: #ccff42;
}
Background
.bg-ccff42 {
  background-color: #ccff42;
  color: #000000;
}
Border
.border-ccff42 {
  border: 2px solid #ccff42;
}
CSS variables
:root {
  --color-primary: #ccff42;
  --color-primary-rgb: 204 255 66;
  --color-primary-hsl: 76 100% 63%;
}
Gradient
.gradient-ccff42 {
  background: linear-gradient(135deg, #ccff42, #6dff42);
}
Colored shadow
.shadow-ccff42 {
  box-shadow: 0 8px 24px rgb(204 255 66 / 0.35);
}

Electric Lime
#ccff42  rgb(204, 255, 66)  hsl(76, 100%, 63%)  Electric Lime
#7542ff  rgb(117, 66, 255)  hsl(256, 100%, 63%)  Majorelle Blue
#42ccff  rgb(66, 204, 255)  hsl(196, 100%, 63%)  Deep Sky Blue
#ff42cc  rgb(255, 66, 204)  hsl(316, 100%, 63%)  Shocking Pink