#CFEC02

#cfec02 ≈ Pear

  • yellow-green
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cfec02 is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 92.55% green and 0.78% blue; printed in CMYK it uses 12.29% cyan, 0% magenta, 99.15% yellow and 7.45% black. Its hue angle is 67.44°, with 98.32% saturation and 46.67% lightness in HSL. It is a warm color, 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 15.65:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.07.

Description generated from the measured properties of this color.

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

Readable text 1.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dedede ≈ 0.003% of males
Achromatomaly #d8e4b1 ≈ 0.001% of males
Protanopia #fcde00 ≈ 1.01% of males
Deuteranopia #f9df30 ≈ 1.27% of males
Tritanopia #dcdec9 ≈ 0.0001% of males
Protanomaly #ece400 ≈ 1.08% of males
Deuteranomaly #eae424 ≈ 4.63% of males
Tritanomaly #d7e4a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfec02 {
  color: #cfec02;
}
Background
.bg-cfec02 {
  background-color: #cfec02;
  color: #000000;
}
Border
.border-cfec02 {
  border: 2px solid #cfec02;
}
CSS variables
:root {
  --color-primary: #cfec02;
  --color-primary-rgb: 207 236 2;
  --color-primary-hsl: 67 98% 47%;
}
Gradient
.gradient-cfec02 {
  background: linear-gradient(135deg, #cfec02, #5aec02);
}
Colored shadow
.shadow-cfec02 {
  box-shadow: 0 8px 24px rgb(207 236 2 / 0.35);
}

Pear
#cfec02  rgb(207, 236, 2)  hsl(67, 98%, 47%)  Pear
#1f02ec  rgb(31, 2, 236)  hsl(247, 98%, 47%)  Blue
#02cfec  rgb(2, 207, 236)  hsl(187, 98%, 47%)  Sky Blue
#ec02cf  rgb(236, 2, 207)  hsl(307, 98%, 47%)  Shocking Pink