#F2F012

#f2f012 ≈ Lemon

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

#f2f012 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 94.12% green and 7.06% blue; printed in CMYK it uses 0% cyan, 0.83% magenta, 92.56% yellow and 5.1% black. Its hue angle is 59.46°, 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 17.25:1 (WCAG AAA). The closest named color is Lemon (#fff700), ΔE 2.25.

Description generated from the measured properties of this color.

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

Readable text 1.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e9e9e9 ≈ 0.003% of males
Achromatomaly #ececba ≈ 0.001% of males
Protanopia #ffe500 ≈ 1.01% of males
Deuteranopia #ffec33 ≈ 1.27% of males
Tritanopia #ffe0cd ≈ 0.0001% of males
Protanomaly #fdea00 ≈ 1.08% of males
Deuteranomaly #ffed29 ≈ 4.63% of males
Tritanomaly #fde6a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Lemon
#f2f012  rgb(242, 240, 18)  hsl(59, 90%, 51%)  Lemon
#1214f2  rgb(18, 20, 242)  hsl(239, 90%, 51%)  Blue
#12f2f0  rgb(18, 242, 240)  hsl(179, 90%, 51%)  Aqua
#f012f2  rgb(240, 18, 242)  hsl(299, 90%, 51%)  Fuchsia