#F5CD2A

#f5cd2a ≈ Jonquil

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

#f5cd2a 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.39% green and 16.47% blue; printed in CMYK it uses 0% cyan, 16.33% magenta, 82.86% yellow and 3.92% black. Its hue angle is 48.18°, with 91.03% saturation and 56.27% 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.65:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.04.

Description generated from the measured properties of this color.

Conversions of #f5cd2a 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.6324

Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #e0cfa7 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #eed537 ≈ 1.27% of males
Tritanopia #ffbcb0 ≈ 0.0001% of males
Protanomaly #ebcb0d ≈ 1.08% of males
Deuteranomaly #f1d232 ≈ 4.63% of males
Tritanomaly #ffc38e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Jonquil
#f5cd2a  rgb(245, 205, 42)  hsl(48, 91%, 56%)  Jonquil
#2a52f5  rgb(42, 82, 245)  hsl(228, 91%, 56%)  Majorelle Blue
#2af5cd  rgb(42, 245, 205)  hsl(168, 91%, 56%)  Aquamarine
#cd2af5  rgb(205, 42, 245)  hsl(288, 91%, 56%)  Electric Purple