#F2D20C

#f2d20c ≈ Gold

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

#f2d20c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 82.35% green and 4.71% blue; printed in CMYK it uses 0% cyan, 13.22% magenta, 95.04% yellow and 5.1% black. Its hue angle is 51.65°, with 90.55% saturation and 49.8% 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 14:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.41.

Description generated from the measured properties of this color.

Conversions of #f2d20c 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.65

Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d3d3d3 ≈ 0.003% of males
Achromatomaly #e0d2a8 ≈ 0.001% of males
Protanopia #e9cd00 ≈ 1.01% of males
Deuteranopia #f1d727 ≈ 1.27% of males
Tritanopia #ffc1b3 ≈ 0.0001% of males
Protanomaly #edcf00 ≈ 1.08% of males
Deuteranomaly #f1d51f ≈ 4.63% of males
Tritanomaly #fec88e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2d20c {
  color: #f2d20c;
}
Background
.bg-f2d20c {
  background-color: #f2d20c;
  color: #000000;
}
Border
.border-f2d20c {
  border: 2px solid #f2d20c;
}
CSS variables
:root {
  --color-primary: #f2d20c;
  --color-primary-rgb: 242 210 12;
  --color-primary-hsl: 52 91% 50%;
}
Gradient
.gradient-f2d20c {
  background: linear-gradient(135deg, #f2d20c, #9ff20c);
}
Colored shadow
.shadow-f2d20c {
  box-shadow: 0 8px 24px rgb(242 210 12 / 0.35);
}

Gold
#f2d20c  rgb(242, 210, 12)  hsl(52, 91%, 50%)  Gold
#0c2cf2  rgb(12, 44, 242)  hsl(232, 91%, 50%)  Blue
#0cf2d2  rgb(12, 242, 210)  hsl(172, 91%, 50%)  Turquoise Blue
#d20cf2  rgb(210, 12, 242)  hsl(292, 91%, 50%)  Electric Purple