About #CCFF22
#CCFF22 is a medium, vivid yellow-green with a hue angle of 74°. It belongs to the green family and reads as a balanced color. In the RGB model green is the strongest channel at 255 (100%) and blue the weakest at 34 (13%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.
- It can be written in 3-digit shorthand as
#cf2.
Color conversions
| HEX | #CCFF22 |
|---|---|
| Short HEX | #CF2 |
| RGB | rgb(204, 255, 34) |
| RGB percent | rgb(80%, 100%, 13.3%) |
| HSL | hsl(74, 100%, 57%) |
| HSV / HSB | hsv(74, 87%, 100%) |
| CMYK | cmyk(20%, 0%, 87%, 0%) |
| CIELAB (D65) | lab(93.7 -41.5 86.7) |
| Decimal | 13434658 |
| Binary | 11001100 11111111 00100010 |
HEX CC FF 22 → 204, 255, 34 (each pair is a base-16 number: C×16 + C = 204)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #CCFF22
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #CCFF22 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.17:1 | Fail | Fail | Fail | Fail |
| Black text | 17.89:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.8447 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#ffee00
Deuteranopia#ffec40
Tritanopia#d7f2da
Achromatopsia#ededed
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 13.2). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| greenyellow | #adff2f | 4.8 |
| chartreuse | #7fff00 | 9 |
| lawngreen | #7cfc00 | 9.3 |
| yellow | #ffff00 | 9.7 |
Nearby colors
CSS
.element {
color: #ccff22;
background-color: rgb(204, 255, 34);
border: 1px solid hsl(74, 100%, 57%);
box-shadow: 0 2px 8px rgb(204 255 34 / 50%);
}
:root { --brand: #ccff22; }