#FFEC1F

#ffec1f ≈ Canary Yellow

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

#ffec1f 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 12.16% blue; printed in CMYK it uses 0% cyan, 7.45% magenta, 87.84% yellow and 0% black. Its hue angle is 54.91°, with 100% saturation and 56.08% 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.27:1 (WCAG AAA). The closest named color is Canary Yellow (#ffef00), ΔE 1.11.

Description generated from the measured properties of this color.

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

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

Achromatopsia #e9e9e9 ≈ 0.003% of males
Achromatomaly #f2eaba ≈ 0.001% of males
Protanopia #ffe400 ≈ 1.01% of males
Deuteranopia #ffed36 ≈ 1.27% of males
Tritanopia #ffdaca ≈ 0.0001% of males
Protanomaly #ffe700 ≈ 1.08% of males
Deuteranomaly #ffec2f ≈ 4.63% of males
Tritanomaly #ffe2a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Canary Yellow
#ffec1f  rgb(255, 236, 31)  hsl(55, 100%, 56%)  Canary Yellow
#1f32ff  rgb(31, 50, 255)  hsl(235, 100%, 56%)  Han Purple
#1fffec  rgb(31, 255, 236)  hsl(175, 100%, 56%)  Turquoise Blue
#ec1fff  rgb(236, 31, 255)  hsl(295, 100%, 56%)  Fuchsia