#FEF042

#fef042 ≈ Aureolin

  • yellow
  • Lightness: high
  • Saturation: strong
  • Warm

#fef042 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 99.61% red, 94.12% green and 25.88% blue; printed in CMYK it uses 0% cyan, 5.51% magenta, 74.02% yellow and 0.39% black. Its hue angle is 55.53°, with 98.95% saturation and 62.75% 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.76:1 (WCAG AAA). The closest named color is Aureolin (#fdee00), ΔE 2.4.

Description generated from the measured properties of this color.

Conversions of #fef042 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.8378

Readable text 1.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ececec ≈ 0.003% of males
Achromatomaly #f3eec0 ≈ 0.001% of males
Protanopia #ffe81c ≈ 1.01% of males
Deuteranopia #ffef4f ≈ 1.27% of males
Tritanopia #ffdfcf ≈ 0.0001% of males
Protanomaly #ffeb2f ≈ 1.08% of males
Deuteranomaly #fff04a ≈ 4.63% of males
Tritanomaly #ffe6a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef042 {
  color: #fef042;
}
Background
.bg-fef042 {
  background-color: #fef042;
  color: #000000;
}
Border
.border-fef042 {
  border: 2px solid #fef042;
}
CSS variables
:root {
  --color-primary: #fef042;
  --color-primary-rgb: 254 240 66;
  --color-primary-hsl: 56 99% 63%;
}
Gradient
.gradient-fef042 {
  background: linear-gradient(135deg, #fef042, #aefe42);
}
Colored shadow
.shadow-fef042 {
  box-shadow: 0 8px 24px rgb(254 240 66 / 0.35);
}

Aureolin
#fef042  rgb(254, 240, 66)  hsl(56, 99%, 63%)  Aureolin
#4250fe  rgb(66, 80, 254)  hsl(236, 99%, 63%)  Majorelle Blue
#42fef0  rgb(66, 254, 240)  hsl(176, 99%, 63%)  Turquoise Blue
#f042fe  rgb(240, 66, 254)  hsl(296, 99%, 63%)  Fuchsia