#F0BC2A

#f0bc2a ≈ Saffron

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

#f0bc2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 73.73% green and 16.47% blue; printed in CMYK it uses 0% cyan, 21.67% magenta, 82.5% yellow and 5.88% black. Its hue angle is 44.24°, with 86.84% 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 11.93:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.17.

Description generated from the measured properties of this color.

Conversions of #f0bc2a 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.5466

Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #d7c09d ≈ 0.001% of males
Protanopia #d4bb00 ≈ 1.01% of males
Deuteranopia #e0c934 ≈ 1.27% of males
Tritanopia #ffaaa1 ≈ 0.0001% of males
Protanomaly #e0bb15 ≈ 1.08% of males
Deuteranomaly #e7c430 ≈ 4.63% of males
Tritanomaly #fdb282 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0bc2a {
  color: #f0bc2a;
}
Background
.bg-f0bc2a {
  background-color: #f0bc2a;
  color: #000000;
}
Border
.border-f0bc2a {
  border: 2px solid #f0bc2a;
}
CSS variables
:root {
  --color-primary: #f0bc2a;
  --color-primary-rgb: 240 188 42;
  --color-primary-hsl: 44 87% 55%;
}
Gradient
.gradient-f0bc2a {
  background: linear-gradient(135deg, #f0bc2a, #c1f02a);
}
Colored shadow
.shadow-f0bc2a {
  box-shadow: 0 8px 24px rgb(240 188 42 / 0.35);
}

Saffron
#f0bc2a  rgb(240, 188, 42)  hsl(44, 87%, 55%)  Saffron
#2a5ef0  rgb(42, 94, 240)  hsl(224, 87%, 55%)  Ultramarine Blue
#2af0bc  rgb(42, 240, 188)  hsl(164, 87%, 55%)  Aquamarine
#bc2af0  rgb(188, 42, 240)  hsl(284, 87%, 55%)  Electric Purple