#CDEC02

#cdec02 ≈ Pear

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

#cdec02 is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 92.55% green and 0.78% blue; printed in CMYK it uses 13.14% cyan, 0% magenta, 99.15% yellow and 7.45% black. Its hue angle is 67.95°, 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.59:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.22.

Description generated from the measured properties of this color.

Conversions of #cdec02 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.7297

Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dedede ≈ 0.003% of males
Achromatomaly #d7e4b1 ≈ 0.001% of males
Protanopia #fcde00 ≈ 1.01% of males
Deuteranopia #f9df30 ≈ 1.27% of males
Tritanopia #dadec9 ≈ 0.0001% of males
Protanomaly #ebe400 ≈ 1.08% of males
Deuteranomaly #e9e424 ≈ 4.63% of males
Tritanomaly #d5e4a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pear
#cdec02  rgb(205, 236, 2)  hsl(68, 98%, 47%)  Pear
#2102ec  rgb(33, 2, 236)  hsl(248, 98%, 47%)  Blue
#02cdec  rgb(2, 205, 236)  hsl(188, 98%, 47%)  Sky Blue
#ec02cd  rgb(236, 2, 205)  hsl(308, 98%, 47%)  Shocking Pink