#CAF940

#caf940 ≈ Electric Lime

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

#caf940 is a color from the yellow-green family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 97.65% green and 25.1% blue; printed in CMYK it uses 18.88% cyan, 0% magenta, 74.3% yellow and 2.35% black. Its hue angle is 75.24°, with 93.91% saturation and 61.37% 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.14:1 (WCAG AAA). The closest named color is Electric Lime (#ccff00), ΔE 2.8.

Description generated from the measured properties of this color.

Conversions of #caf940 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.8068

Readable text 1.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e8e8e8 ≈ 0.003% of males
Achromatomaly #ddefbc ≈ 0.001% of males
Protanopia #ffe912 ≈ 1.01% of males
Deuteranopia #ffe852 ≈ 1.27% of males
Tritanopia #d4edd6 ≈ 0.0001% of males
Protanomaly #f1f02b ≈ 1.08% of males
Deuteranomaly #edef4b ≈ 4.63% of males
Tritanomaly #d0f2ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-caf940 {
  color: #caf940;
}
Background
.bg-caf940 {
  background-color: #caf940;
  color: #000000;
}
Border
.border-caf940 {
  border: 2px solid #caf940;
}
CSS variables
:root {
  --color-primary: #caf940;
  --color-primary-rgb: 202 249 64;
  --color-primary-hsl: 75 94% 61%;
}
Gradient
.gradient-caf940 {
  background: linear-gradient(135deg, #caf940, #6df940);
}
Colored shadow
.shadow-caf940 {
  box-shadow: 0 8px 24px rgb(202 249 64 / 0.35);
}

Electric Lime
#caf940  rgb(202, 249, 64)  hsl(75, 94%, 61%)  Electric Lime
#6f40f9  rgb(111, 64, 249)  hsl(255, 94%, 61%)  Majorelle Blue
#40caf9  rgb(64, 202, 249)  hsl(195, 94%, 61%)  Deep Sky Blue
#f940ca  rgb(249, 64, 202)  hsl(315, 94%, 61%)  Shocking Pink