#CFEC0F

#cfec0f ≈ Pear

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

#cfec0f 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 5.88% blue; printed in CMYK it uses 12.29% cyan, 0% magenta, 93.64% yellow and 7.45% black. Its hue angle is 67.87°, with 88.05% saturation and 49.22% 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.66:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #cfec0f 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.7329

Readable text 1.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.66: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 #f9df33 ≈ 1.27% of males
Tritanopia #dcdec9 ≈ 0.0001% of males
Protanomaly #ece400 ≈ 1.08% of males
Deuteranomaly #eae429 ≈ 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-cfec0f {
  color: #cfec0f;
}
Background
.bg-cfec0f {
  background-color: #cfec0f;
  color: #000000;
}
Border
.border-cfec0f {
  border: 2px solid #cfec0f;
}
CSS variables
:root {
  --color-primary: #cfec0f;
  --color-primary-rgb: 207 236 15;
  --color-primary-hsl: 68 88% 49%;
}
Gradient
.gradient-cfec0f {
  background: linear-gradient(135deg, #cfec0f, #61ec0f);
}
Colored shadow
.shadow-cfec0f {
  box-shadow: 0 8px 24px rgb(207 236 15 / 0.35);
}

Pear
#cfec0f  rgb(207, 236, 15)  hsl(68, 88%, 49%)  Pear
#2c0fec  rgb(44, 15, 236)  hsl(248, 88%, 49%)  Blue
#0fcfec  rgb(15, 207, 236)  hsl(188, 88%, 49%)  Sky Blue
#ec0fcf  rgb(236, 15, 207)  hsl(308, 88%, 49%)  Shocking Pink