#F2E042

#f2e042 ≈ Dandelion

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

#f2e042 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.84% green and 25.88% blue; printed in CMYK it uses 0% cyan, 7.44% magenta, 72.73% yellow and 5.1% black. Its hue angle is 53.86°, 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.52:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.4.

Description generated from the measured properties of this color.

Conversions of #f2e042 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.7258

Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dddddd ≈ 0.003% of males
Achromatomaly #e6deb4 ≈ 0.001% of males
Protanopia #f4d924 ≈ 1.01% of males
Deuteranopia #fae14d ≈ 1.27% of males
Tritanopia #ffd0c1 ≈ 0.0001% of males
Protanomaly #f3dc33 ≈ 1.08% of males
Deuteranomaly #f7e149 ≈ 4.63% of males
Tritanomaly #fdd79e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dandelion
#f2e042  rgb(242, 224, 66)  hsl(54, 87%, 60%)  Dandelion
#4254f2  rgb(66, 84, 242)  hsl(234, 87%, 60%)  Majorelle Blue
#42f2e0  rgb(66, 242, 224)  hsl(174, 87%, 60%)  Turquoise Blue
#e042f2  rgb(224, 66, 242)  hsl(294, 87%, 60%)  Fuchsia