#F5C021

#f5c021 ≈ Saffron

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

#f5c021 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 21.63% magenta, 86.53% yellow and 3.92% black. Its hue angle is 45°, with 91.38% saturation and 54.51% 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 12.44:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.51.

Description generated from the measured properties of this color.

Conversions of #f5c021 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.5722

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #dbc4a0 ≈ 0.001% of males
Protanopia #d9bf00 ≈ 1.01% of males
Deuteranopia #e5cd2d ≈ 1.27% of males
Tritanopia #ffaea4 ≈ 0.0001% of males
Protanomaly #e5bf00 ≈ 1.08% of males
Deuteranomaly #ecc829 ≈ 4.63% of males
Tritanomaly #ffb584 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Saffron
#f5c021  rgb(245, 192, 33)  hsl(45, 91%, 55%)  Saffron
#2156f5  rgb(33, 86, 245)  hsl(225, 91%, 55%)  Ultramarine Blue
#21f5c0  rgb(33, 245, 192)  hsl(165, 91%, 55%)  Aquamarine
#c021f5  rgb(192, 33, 245)  hsl(285, 91%, 55%)  Electric Purple