#FFCC2E

#ffcc2e ≈ Sunglow

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

#ffcc2e 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 18.04% blue; printed in CMYK it uses 0% cyan, 20% magenta, 81.96% yellow and 0% black. Its hue angle is 45.36°, with 100% saturation and 59.02% 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.93:1 (WCAG AAA). The closest named color is Sunglow (#ffcc33), ΔE 0.34.

Description generated from the measured properties of this color.

Conversions of #ffcc2e 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.6464

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

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #e6d0a9 ≈ 0.001% of males
Protanopia #e5ca00 ≈ 1.01% of males
Deuteranopia #f1d839 ≈ 1.27% of males
Tritanopia #ffb9af ≈ 0.0001% of males
Protanomaly #f0cb17 ≈ 1.08% of males
Deuteranomaly #f7d335 ≈ 4.63% of males
Tritanomaly #ffc18e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Sunglow
#ffcc2e  rgb(255, 204, 46)  hsl(45, 100%, 59%)  Sunglow
#2e61ff  rgb(46, 97, 255)  hsl(225, 100%, 59%)  Ultramarine Blue
#2effcc  rgb(46, 255, 204)  hsl(165, 100%, 59%)  Aquamarine
#cc2eff  rgb(204, 46, 255)  hsl(285, 100%, 59%)  Electric Purple