#F5F42E

#f5f42e ≈ Daffodil

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

#f5f42e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 95.69% green and 18.04% blue; printed in CMYK it uses 0% cyan, 0.41% magenta, 81.22% yellow and 3.92% black. Its hue angle is 59.7°, with 90.87% saturation and 57.06% 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.86:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 2.26.

Description generated from the measured properties of this color.

Conversions of #f5f42e 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.8431

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

Achromatopsia #ededed ≈ 0.003% of males
Achromatomaly #f0f0be ≈ 0.001% of males
Protanopia #ffe900 ≈ 1.01% of males
Deuteranopia #ffef42 ≈ 1.27% of males
Tritanopia #ffe4d1 ≈ 0.0001% of males
Protanomaly #ffee00 ≈ 1.08% of males
Deuteranomaly #fff13b ≈ 4.63% of males
Tritanomaly #ffeaa8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5f42e {
  color: #f5f42e;
}
Background
.bg-f5f42e {
  background-color: #f5f42e;
  color: #000000;
}
Border
.border-f5f42e {
  border: 2px solid #f5f42e;
}
CSS variables
:root {
  --color-primary: #f5f42e;
  --color-primary-rgb: 245 244 46;
  --color-primary-hsl: 60 91% 57%;
}
Gradient
.gradient-f5f42e {
  background: linear-gradient(135deg, #f5f42e, #92f52e);
}
Colored shadow
.shadow-f5f42e {
  box-shadow: 0 8px 24px rgb(245 244 46 / 0.35);
}

Daffodil
#f5f42e  rgb(245, 244, 46)  hsl(60, 91%, 57%)  Daffodil
#2e2ff5  rgb(46, 47, 245)  hsl(240, 91%, 57%)  Han Purple
#2ef5f4  rgb(46, 245, 244)  hsl(180, 91%, 57%)  Aqua
#f42ef5  rgb(244, 46, 245)  hsl(300, 91%, 57%)  Fuchsia