#F2F331

#f2f331 ≈ Daffodil

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

#f2f331 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 95.29% green and 19.22% blue; printed in CMYK it uses 0.41% cyan, 0% magenta, 79.84% yellow and 4.71% black. Its hue angle is 60.31°, with 88.99% saturation and 57.25% 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.64:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 2.6.

Description generated from the measured properties of this color.

Conversions of #f2f331 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.832

Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ebebeb ≈ 0.003% of males
Achromatomaly #eeeebd ≈ 0.001% of males
Protanopia #ffe800 ≈ 1.01% of males
Deuteranopia #ffee44 ≈ 1.27% of males
Tritanopia #ffe3d0 ≈ 0.0001% of males
Protanomaly #ffed0c ≈ 1.08% of males
Deuteranomaly #fff03d ≈ 4.63% of males
Tritanomaly #fdeaa8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2f331 {
  color: #f2f331;
}
Background
.bg-f2f331 {
  background-color: #f2f331;
  color: #000000;
}
Border
.border-f2f331 {
  border: 2px solid #f2f331;
}
CSS variables
:root {
  --color-primary: #f2f331;
  --color-primary-rgb: 242 243 49;
  --color-primary-hsl: 60 89% 57%;
}
Gradient
.gradient-f2f331 {
  background: linear-gradient(135deg, #f2f331, #91f331);
}
Colored shadow
.shadow-f2f331 {
  box-shadow: 0 8px 24px rgb(242 243 49 / 0.35);
}

Daffodil
#f2f331  rgb(242, 243, 49)  hsl(60, 89%, 57%)  Daffodil
#3231f3  rgb(50, 49, 243)  hsl(240, 89%, 57%)  Han Purple
#31f2f3  rgb(49, 242, 243)  hsl(180, 89%, 57%)  Aqua
#f331f2  rgb(243, 49, 242)  hsl(300, 89%, 57%)  Fuchsia