#FFEC04

#ffec04 ≈ Canary Yellow

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

#ffec04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 92.55% green and 1.57% blue; printed in CMYK it uses 0% cyan, 7.45% magenta, 98.43% yellow and 0% black. Its hue angle is 55.46°, with 100% saturation and 50.78% 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 17.25:1 (WCAG AAA). The closest named color is Canary Yellow (#ffef00), ΔE 0.86.

Description generated from the measured properties of this color.

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

Readable text 1.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e9e9e9 ≈ 0.003% of males
Achromatomaly #f2eab9 ≈ 0.001% of males
Protanopia #ffe400 ≈ 1.01% of males
Deuteranopia #ffed2c ≈ 1.27% of males
Tritanopia #ffdac9 ≈ 0.0001% of males
Protanomaly #ffe700 ≈ 1.08% of males
Deuteranomaly #ffec22 ≈ 4.63% of males
Tritanomaly #ffe2a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffec04 {
  color: #ffec04;
}
Background
.bg-ffec04 {
  background-color: #ffec04;
  color: #000000;
}
Border
.border-ffec04 {
  border: 2px solid #ffec04;
}
CSS variables
:root {
  --color-primary: #ffec04;
  --color-primary-rgb: 255 236 4;
  --color-primary-hsl: 55 100% 51%;
}
Gradient
.gradient-ffec04 {
  background: linear-gradient(135deg, #ffec04, #94ff04);
}
Colored shadow
.shadow-ffec04 {
  box-shadow: 0 8px 24px rgb(255 236 4 / 0.35);
}

Canary Yellow
#ffec04  rgb(255, 236, 4)  hsl(55, 100%, 51%)  Canary Yellow
#0417ff  rgb(4, 23, 255)  hsl(235, 100%, 51%)  Blue
#04ffec  rgb(4, 255, 236)  hsl(175, 100%, 51%)  Turquoise Blue
#ec04ff  rgb(236, 4, 255)  hsl(295, 100%, 51%)  Fuchsia