#F0BF2C

#f0bf2c ≈ Saffron

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

#f0bf2c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 74.9% green and 17.25% blue; printed in CMYK it uses 0% cyan, 20.42% magenta, 81.67% yellow and 5.88% black. Its hue angle is 45°, with 86.73% saturation and 55.69% 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.19:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.24.

Description generated from the measured properties of this color.

Conversions of #f0bf2c 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.5597

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #d8c39f ≈ 0.001% of males
Protanopia #d6be00 ≈ 1.01% of males
Deuteranopia #e2cb36 ≈ 1.27% of males
Tritanopia #ffada4 ≈ 0.0001% of males
Protanomaly #e1be18 ≈ 1.08% of males
Deuteranomaly #e8c632 ≈ 4.63% of males
Tritanomaly #fdb585 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Saffron
#f0bf2c  rgb(240, 191, 44)  hsl(45, 87%, 56%)  Saffron
#2c5df0  rgb(44, 93, 240)  hsl(225, 87%, 56%)  Ultramarine Blue
#2cf0bf  rgb(44, 240, 191)  hsl(165, 87%, 56%)  Aquamarine
#bf2cf0  rgb(191, 44, 240)  hsl(285, 87%, 56%)  Electric Purple