About #FFCC22
#FFCC22 is a medium, vivid amber with a hue angle of 46°. It belongs to the yellow family and reads as a warm color. In the RGB model red 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
#fc2.
Color conversions
| HEX | #FFCC22 |
|---|---|
| Short HEX | #FC2 |
| RGB | rgb(255, 204, 34) |
| RGB percent | rgb(100%, 80%, 13.3%) |
| HSL | hsl(46, 100%, 57%) |
| HSV / HSB | hsv(46, 87%, 100%) |
| CMYK | cmyk(0%, 20%, 87%, 0%) |
| CIELAB (D65) | lab(84.3 4.1 80.7) |
| Decimal | 16763938 |
| Binary | 11111111 11001100 00100010 |
HEX FF CC 22 → 255, 204, 34 (each pair is a base-16 number: F×16 + F = 255)
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 #FFCC22
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #FFCC22 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.51:1 | Fail | Fail | Fail | Fail |
| Black text | 13.91:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.6456 (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#e5ca00
Deuteranopia#f1d830
Tritanopia#ffb9af
Achromatopsia#d2d2d2
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 6.8). 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
Nearby colors
CSS
.element {
color: #ffcc22;
background-color: rgb(255, 204, 34);
border: 1px solid hsl(46, 100%, 57%);
box-shadow: 0 2px 8px rgb(255 204 34 / 50%);
}
:root { --brand: #ffcc22; }