#F2C028

#f2c028 ≈ Saffron

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

#f2c028 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 75.29% green and 15.69% blue; printed in CMYK it uses 0% cyan, 20.66% magenta, 83.47% yellow and 5.1% black. Its hue angle is 45.15°, with 88.6% saturation and 55.29% 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.35:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.04.

Description generated from the measured properties of this color.

Conversions of #f2c028 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.5673

Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #d9c49f ≈ 0.001% of males
Protanopia #d8bf00 ≈ 1.01% of males
Deuteranopia #e4cc33 ≈ 1.27% of males
Tritanopia #ffaea5 ≈ 0.0001% of males
Protanomaly #e3bf0f ≈ 1.08% of males
Deuteranomaly #eac72f ≈ 4.63% of males
Tritanomaly #ffb685 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Saffron
#f2c028  rgb(242, 192, 40)  hsl(45, 89%, 55%)  Saffron
#285af2  rgb(40, 90, 242)  hsl(225, 89%, 55%)  Ultramarine Blue
#28f2c0  rgb(40, 242, 192)  hsl(165, 89%, 55%)  Aquamarine
#c028f2  rgb(192, 40, 242)  hsl(285, 89%, 55%)  Electric Purple