#FFCC20

#ffcc20 ≈ Sunglow

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#ffcc20 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 80% green and 12.55% blue; printed in CMYK it uses 0% cyan, 20% magenta, 87.45% yellow and 0% black. Its hue angle is 46.28°, with 100% saturation and 56.27% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 13.91:1 (WCAG AAA). The closest named color is Sunglow (#ffcc33), ΔE 1.13.

Description generated from the measured properties of this color.

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

Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #e5d0a8 ≈ 0.001% of males
Protanopia #e5ca00 ≈ 1.01% of males
Deuteranopia #f1d82f ≈ 1.27% of males
Tritanopia #ffb9af ≈ 0.0001% of males
Protanomaly #f0cb00 ≈ 1.08% of males
Deuteranomaly #f7d329 ≈ 4.63% of males
Tritanomaly #ffc18c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffcc20 {
  color: #ffcc20;
}
Background
.bg-ffcc20 {
  background-color: #ffcc20;
  color: #000000;
}
Border
.border-ffcc20 {
  border: 2px solid #ffcc20;
}
CSS variables
:root {
  --color-primary: #ffcc20;
  --color-primary-rgb: 255 204 32;
  --color-primary-hsl: 46 100% 56%;
}
Gradient
.gradient-ffcc20 {
  background: linear-gradient(135deg, #ffcc20, #c2ff20);
}
Colored shadow
.shadow-ffcc20 {
  box-shadow: 0 8px 24px rgb(255 204 32 / 0.35);
}

Sunglow
#ffcc20  rgb(255, 204, 32)  hsl(46, 100%, 56%)  Sunglow
#2053ff  rgb(32, 83, 255)  hsl(226, 100%, 56%)  Ultramarine Blue
#20ffcc  rgb(32, 255, 204)  hsl(166, 100%, 56%)  Aquamarine
#cc20ff  rgb(204, 32, 255)  hsl(286, 100%, 56%)  Electric Purple