#CCFF22 color

#CCFF22 is rgb(204, 255, 34) in RGB and hsl(74, 100%, 57%) in HSL. The closest CSS named color is greenyellow (#adff2f, ΔE 4.8). Use black text on it (contrast 17.89:1).

#CCFF22yellow-green
HEX#CCFF22
Short HEX#CF2
RGBrgb(204, 255, 34)
RGB percentrgb(80%, 100%, 13.3%)
HSLhsl(74, 100%, 57%)
HSV / HSBhsv(74, 87%, 100%)
CMYKcmyk(20%, 0%, 87%, 0%)

Edit in the color converter → · Check contrast → · Shades →

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.

Color conversions

HEX#CCFF22
Short HEX#CF2
RGBrgb(204, 255, 34)
RGB percentrgb(80%, 100%, 13.3%)
HSLhsl(74, 100%, 57%)
HSV / HSBhsv(74, 87%, 100%)
CMYKcmyk(20%, 0%, 87%, 0%)
CIELAB (D65)lab(93.7 -41.5 86.7)
Decimal13434658
Binary11001100 11111111 00100010

HEX CC FF 22 → 204, 255, 34 (each pair is a base-16 number: C×16 + C = 204)

Color harmonies

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 #CCFF22RatioAA normalAA largeAAA normalAAA large
White text1.17:1FailFailFailFail
Black text17.89:1PassPassPassPass
White text on #CCFF22
Black text on #CCFF22
#CCFF22 text on white
#CCFF22 text on black

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

NameHEXΔE 2000
greenyellow#adff2f4.8
chartreuse#7fff009
lawngreen#7cfc009.3
yellow#ffff009.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; }

Frequently asked questions

What color is #CCFF22?
A medium vivid yellow-green in the green family. Closest CSS name: greenyellow.
What is #CCFF22 in RGB?
rgb(204, 255, 34): red 204, green 255, blue 34.
What is the complementary color of #CCFF22?
#5522FF, found by rotating the hue 180°.