#C2CC31

#c2cc31 ≈ Pear

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#c2cc31 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 80% green and 19.22% blue; printed in CMYK it uses 4.9% cyan, 0% magenta, 75.98% yellow and 20% black. Its hue angle is 63.87°, with 61.26% saturation and 49.61% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 11.98:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.22.

Description generated from the measured properties of this color.

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

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #c3c79e ≈ 0.001% of males
Protanopia #dbc204 ≈ 1.01% of males
Deuteranopia #dbc53f ≈ 1.27% of males
Tritanopia #cfc0af ≈ 0.0001% of males
Protanomaly #d2c61e ≈ 1.08% of males
Deuteranomaly #d2c83a ≈ 4.63% of males
Tritanomaly #cac58e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c2cc31 {
  color: #c2cc31;
}
Background
.bg-c2cc31 {
  background-color: #c2cc31;
  color: #000000;
}
Border
.border-c2cc31 {
  border: 2px solid #c2cc31;
}
CSS variables
:root {
  --color-primary: #c2cc31;
  --color-primary-rgb: 194 204 49;
  --color-primary-hsl: 64 61% 50%;
}
Gradient
.gradient-c2cc31 {
  background: linear-gradient(135deg, #c2cc31, #75cc31);
}
Colored shadow
.shadow-c2cc31 {
  box-shadow: 0 8px 24px rgb(194 204 49 / 0.35);
}

Pear
#c2cc31  rgb(194, 204, 49)  hsl(64, 61%, 50%)  Pear
#3b31cc  rgb(59, 49, 204)  hsl(244, 61%, 50%)  Persian Blue
#31c2cc  rgb(49, 194, 204)  hsl(184, 61%, 50%)  Dark Turquoise
#cc31c2  rgb(204, 49, 194)  hsl(304, 61%, 50%)  Medium Orchid