#F2D520

#f2d520 ≈ Citrine

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

#f2d520 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 83.53% green and 12.55% blue; printed in CMYK it uses 0% cyan, 11.98% magenta, 86.78% yellow and 5.1% black. Its hue angle is 51.71°, with 88.98% saturation and 53.73% 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.31:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.66.

Description generated from the measured properties of this color.

Conversions of #f2d520 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.6657

Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #e1d5ab ≈ 0.001% of males
Protanopia #ebcf00 ≈ 1.01% of males
Deuteranopia #f3d932 ≈ 1.27% of males
Tritanopia #ffc4b6 ≈ 0.0001% of males
Protanomaly #eed200 ≈ 1.08% of males
Deuteranomaly #f3d82c ≈ 4.63% of males
Tritanomaly #fecb92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2d520 {
  color: #f2d520;
}
Background
.bg-f2d520 {
  background-color: #f2d520;
  color: #000000;
}
Border
.border-f2d520 {
  border: 2px solid #f2d520;
}
CSS variables
:root {
  --color-primary: #f2d520;
  --color-primary-rgb: 242 213 32;
  --color-primary-hsl: 52 89% 54%;
}
Gradient
.gradient-f2d520 {
  background: linear-gradient(135deg, #f2d520, #a6f220);
}
Colored shadow
.shadow-f2d520 {
  box-shadow: 0 8px 24px rgb(242 213 32 / 0.35);
}

Citrine
#f2d520  rgb(242, 213, 32)  hsl(52, 89%, 54%)  Citrine
#203df2  rgb(32, 61, 242)  hsl(232, 89%, 54%)  Han Purple
#20f2d5  rgb(32, 242, 213)  hsl(172, 89%, 54%)  Turquoise Blue
#d520f2  rgb(213, 32, 242)  hsl(292, 89%, 54%)  Electric Purple