#F2DF42

#f2df42 ≈ Dandelion

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#f2df42 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.9% red, 87.45% green and 25.88% blue; printed in CMYK it uses 0% cyan, 7.85% magenta, 72.73% yellow and 5.1% black. Its hue angle is 53.52°, with 87.13% saturation and 60.39% 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 15.41:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.61.

Description generated from the measured properties of this color.

Conversions of #f2df42 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.7205

Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dddddd ≈ 0.003% of males
Achromatomaly #e6deb4 ≈ 0.001% of males
Protanopia #f4d825 ≈ 1.01% of males
Deuteranopia #f9e04d ≈ 1.27% of males
Tritanopia #ffcfc1 ≈ 0.0001% of males
Protanomaly #f3db33 ≈ 1.08% of males
Deuteranomaly #f6e049 ≈ 4.63% of males
Tritanomaly #fdd69e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2df42 {
  color: #f2df42;
}
Background
.bg-f2df42 {
  background-color: #f2df42;
  color: #000000;
}
Border
.border-f2df42 {
  border: 2px solid #f2df42;
}
CSS variables
:root {
  --color-primary: #f2df42;
  --color-primary-rgb: 242 223 66;
  --color-primary-hsl: 54 87% 60%;
}
Gradient
.gradient-f2df42 {
  background: linear-gradient(135deg, #f2df42, #adf242);
}
Colored shadow
.shadow-f2df42 {
  box-shadow: 0 8px 24px rgb(242 223 66 / 0.35);
}

Dandelion
#f2df42  rgb(242, 223, 66)  hsl(54, 87%, 60%)  Dandelion
#4255f2  rgb(66, 85, 242)  hsl(234, 87%, 60%)  Majorelle Blue
#42f2df  rgb(66, 242, 223)  hsl(174, 87%, 60%)  Turquoise Blue
#df42f2  rgb(223, 66, 242)  hsl(294, 87%, 60%)  Fuchsia