#F2C031

#f2c031 ≈ Saffron

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

#f2c031 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 19.22% blue; printed in CMYK it uses 0% cyan, 20.66% magenta, 79.75% yellow and 5.1% black. Its hue angle is 44.46°, with 88.13% saturation and 57.06% 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.36:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.19.

Description generated from the measured properties of this color.

Conversions of #f2c031 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.568

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

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #d9c4a0 ≈ 0.001% of males
Protanopia #d8bf0b ≈ 1.01% of males
Deuteranopia #e4cc3a ≈ 1.27% of males
Tritanopia #ffaea5 ≈ 0.0001% of males
Protanomaly #e3bf20 ≈ 1.08% of males
Deuteranomaly #eac736 ≈ 4.63% of males
Tritanomaly #ffb686 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2c031 {
  color: #f2c031;
}
Background
.bg-f2c031 {
  background-color: #f2c031;
  color: #000000;
}
Border
.border-f2c031 {
  border: 2px solid #f2c031;
}
CSS variables
:root {
  --color-primary: #f2c031;
  --color-primary-rgb: 242 192 49;
  --color-primary-hsl: 44 88% 57%;
}
Gradient
.gradient-f2c031 {
  background: linear-gradient(135deg, #f2c031, #c3f231);
}
Colored shadow
.shadow-f2c031 {
  box-shadow: 0 8px 24px rgb(242 192 49 / 0.35);
}

Saffron
#f2c031  rgb(242, 192, 49)  hsl(44, 88%, 57%)  Saffron
#3163f2  rgb(49, 99, 242)  hsl(224, 88%, 57%)  Ultramarine Blue
#31f2c0  rgb(49, 242, 192)  hsl(164, 88%, 57%)  Aquamarine
#c031f2  rgb(192, 49, 242)  hsl(284, 88%, 57%)  Electric Purple