#C8CC2A

#c8cc2a ≈ Pear

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

#c8cc2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 80% green and 16.47% blue; printed in CMYK it uses 1.96% cyan, 0% magenta, 79.41% yellow and 20% black. Its hue angle is 61.48°, with 65.85% saturation and 48.24% 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 12.13:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.37.

Description generated from the measured properties of this color.

Conversions of #c8cc2a 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.5563

Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c6c89e ≈ 0.001% of males
Protanopia #dcc300 ≈ 1.01% of males
Deuteranopia #ddc739 ≈ 1.27% of males
Tritanopia #d6bfaf ≈ 0.0001% of males
Protanomaly #d5c610 ≈ 1.08% of males
Deuteranomaly #d5c934 ≈ 4.63% of males
Tritanomaly #d1c48d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8cc2a {
  color: #c8cc2a;
}
Background
.bg-c8cc2a {
  background-color: #c8cc2a;
  color: #000000;
}
Border
.border-c8cc2a {
  border: 2px solid #c8cc2a;
}
CSS variables
:root {
  --color-primary: #c8cc2a;
  --color-primary-rgb: 200 204 42;
  --color-primary-hsl: 61 66% 48%;
}
Gradient
.gradient-c8cc2a {
  background: linear-gradient(135deg, #c8cc2a, #77cc2a);
}
Colored shadow
.shadow-c8cc2a {
  box-shadow: 0 8px 24px rgb(200 204 42 / 0.35);
}

Pear
#c8cc2a  rgb(200, 204, 42)  hsl(61, 66%, 48%)  Pear
#2e2acc  rgb(46, 42, 204)  hsl(241, 66%, 48%)  Persian Blue
#2ac8cc  rgb(42, 200, 204)  hsl(181, 66%, 48%)  Dark Turquoise
#cc2ac8  rgb(204, 42, 200)  hsl(301, 66%, 48%)  Medium Orchid