#F5CC2D

#f5cc2d ≈ Jonquil

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

#f5cc2d is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 80% green and 17.65% blue; printed in CMYK it uses 0% cyan, 16.73% magenta, 81.63% yellow and 3.92% black. Its hue angle is 47.7°, with 90.91% saturation and 56.86% 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 13.56:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.07.

Description generated from the measured properties of this color.

Conversions of #f5cc2d 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.6279

Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #e0cea7 ≈ 0.001% of males
Protanopia #e3c900 ≈ 1.01% of males
Deuteranopia #edd539 ≈ 1.27% of males
Tritanopia #ffbbaf ≈ 0.0001% of males
Protanomaly #ebca15 ≈ 1.08% of males
Deuteranomaly #f0d134 ≈ 4.63% of males
Tritanomaly #ffc28d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5cc2d {
  color: #f5cc2d;
}
Background
.bg-f5cc2d {
  background-color: #f5cc2d;
  color: #000000;
}
Border
.border-f5cc2d {
  border: 2px solid #f5cc2d;
}
CSS variables
:root {
  --color-primary: #f5cc2d;
  --color-primary-rgb: 245 204 45;
  --color-primary-hsl: 48 91% 57%;
}
Gradient
.gradient-f5cc2d {
  background: linear-gradient(135deg, #f5cc2d, #baf52d);
}
Colored shadow
.shadow-f5cc2d {
  box-shadow: 0 8px 24px rgb(245 204 45 / 0.35);
}

Jonquil
#f5cc2d  rgb(245, 204, 45)  hsl(48, 91%, 57%)  Jonquil
#2d56f5  rgb(45, 86, 245)  hsl(228, 91%, 57%)  Ultramarine Blue
#2df5cc  rgb(45, 245, 204)  hsl(168, 91%, 57%)  Aquamarine
#cc2df5  rgb(204, 45, 245)  hsl(288, 91%, 57%)  Electric Purple