#F0FC2E

#f0fc2e ≈ Daffodil

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

#f0fc2e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 98.82% green and 18.04% blue; printed in CMYK it uses 4.76% cyan, 0% magenta, 81.75% yellow and 1.18% black. Its hue angle is 63.5°, with 97.17% saturation and 58.43% 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 18.67:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 2.64.

Description generated from the measured properties of this color.

Conversions of #f0fc2e 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.8834

Readable text 1.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f1f1f1 ≈ 0.003% of males
Achromatomaly #f1f6c2 ≈ 0.001% of males
Protanopia #fff000 ≈ 1.01% of males
Deuteranopia #fff344 ≈ 1.27% of males
Tritanopia #ffecd8 ≈ 0.0001% of males
Protanomaly #fff500 ≈ 1.08% of males
Deuteranomaly #fff73c ≈ 4.63% of males
Tritanomaly #faf3ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0fc2e {
  color: #f0fc2e;
}
Background
.bg-f0fc2e {
  background-color: #f0fc2e;
  color: #000000;
}
Border
.border-f0fc2e {
  border: 2px solid #f0fc2e;
}
CSS variables
:root {
  --color-primary: #f0fc2e;
  --color-primary-rgb: 240 252 46;
  --color-primary-hsl: 64 97% 58%;
}
Gradient
.gradient-f0fc2e {
  background: linear-gradient(135deg, #f0fc2e, #89fc2e);
}
Colored shadow
.shadow-f0fc2e {
  box-shadow: 0 8px 24px rgb(240 252 46 / 0.35);
}

Daffodil
#f0fc2e  rgb(240, 252, 46)  hsl(64, 97%, 58%)  Daffodil
#3a2efc  rgb(58, 46, 252)  hsl(244, 97%, 58%)  Han Purple
#2ef0fc  rgb(46, 240, 252)  hsl(184, 97%, 58%)  Electric Blue
#fc2ef0  rgb(252, 46, 240)  hsl(304, 97%, 58%)  Fuchsia