#F2DE12

#f2de12 ≈ Dandelion

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

#f2de12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 87.06% green and 7.06% blue; printed in CMYK it uses 0% cyan, 8.26% magenta, 92.56% yellow and 5.1% black. Its hue angle is 54.64°, with 89.6% saturation and 50.98% 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.23:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.73.

Description generated from the measured properties of this color.

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

Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dbdbdb ≈ 0.003% of males
Achromatomaly #e5dcaf ≈ 0.001% of males
Protanopia #f4d700 ≈ 1.01% of males
Deuteranopia #fadf2d ≈ 1.27% of males
Tritanopia #ffcdbd ≈ 0.0001% of males
Protanomaly #f3da00 ≈ 1.08% of males
Deuteranomaly #f7df25 ≈ 4.63% of males
Tritanomaly #fed497 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2de12 {
  color: #f2de12;
}
Background
.bg-f2de12 {
  background-color: #f2de12;
  color: #000000;
}
Border
.border-f2de12 {
  border: 2px solid #f2de12;
}
CSS variables
:root {
  --color-primary: #f2de12;
  --color-primary-rgb: 242 222 18;
  --color-primary-hsl: 55 90% 51%;
}
Gradient
.gradient-f2de12 {
  background: linear-gradient(135deg, #f2de12, #96f212);
}
Colored shadow
.shadow-f2de12 {
  box-shadow: 0 8px 24px rgb(242 222 18 / 0.35);
}

Dandelion
#f2de12  rgb(242, 222, 18)  hsl(55, 90%, 51%)  Dandelion
#1226f2  rgb(18, 38, 242)  hsl(235, 90%, 51%)  Blue
#12f2de  rgb(18, 242, 222)  hsl(175, 90%, 51%)  Turquoise Blue
#de12f2  rgb(222, 18, 242)  hsl(295, 90%, 51%)  Fuchsia