#FFEC2F

#ffec2f ≈ Aureolin

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

#ffec2f 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 18.43% blue; printed in CMYK it uses 0% cyan, 7.45% magenta, 81.57% yellow and 0% black. Its hue angle is 54.52°, with 100% saturation and 59.22% 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.29:1 (WCAG AAA). The closest named color is Aureolin (#fdee00), ΔE 1.62.

Description generated from the measured properties of this color.

Conversions of #ffec2f 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.8146

Readable text 1.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e9e9e9 ≈ 0.003% of males
Achromatomaly #f2eabc ≈ 0.001% of males
Protanopia #ffe400 ≈ 1.01% of males
Deuteranopia #ffed40 ≈ 1.27% of males
Tritanopia #ffdbca ≈ 0.0001% of males
Protanomaly #ffe709 ≈ 1.08% of males
Deuteranomaly #ffed3a ≈ 4.63% of males
Tritanomaly #ffe2a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Aureolin
#ffec2f  rgb(255, 236, 47)  hsl(55, 100%, 59%)  Aureolin
#2f42ff  rgb(47, 66, 255)  hsl(235, 100%, 59%)  Majorelle Blue
#2fffec  rgb(47, 255, 236)  hsl(175, 100%, 59%)  Turquoise Blue
#ec2fff  rgb(236, 47, 255)  hsl(295, 100%, 59%)  Fuchsia