#F2CB04

#f2cb04 ≈ Jonquil

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

#f2cb04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 79.61% green and 1.57% blue; printed in CMYK it uses 0% cyan, 16.12% magenta, 98.35% yellow and 5.1% black. Its hue angle is 50.17°, with 96.75% saturation and 48.24% 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 13.32:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 0.97.

Description generated from the measured properties of this color.

Conversions of #f2cb04 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.616

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #ddcda4 ≈ 0.001% of males
Protanopia #e2c700 ≈ 1.01% of males
Deuteranopia #ecd322 ≈ 1.27% of males
Tritanopia #ffb9ad ≈ 0.0001% of males
Protanomaly #e9c900 ≈ 1.08% of males
Deuteranomaly #efd01a ≈ 4.63% of males
Tritanomaly #ffc189 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2cb04 {
  color: #f2cb04;
}
Background
.bg-f2cb04 {
  background-color: #f2cb04;
  color: #000000;
}
Border
.border-f2cb04 {
  border: 2px solid #f2cb04;
}
CSS variables
:root {
  --color-primary: #f2cb04;
  --color-primary-rgb: 242 203 4;
  --color-primary-hsl: 50 97% 48%;
}
Gradient
.gradient-f2cb04 {
  background: linear-gradient(135deg, #f2cb04, #a2f204);
}
Colored shadow
.shadow-f2cb04 {
  box-shadow: 0 8px 24px rgb(242 203 4 / 0.35);
}

Jonquil
#f2cb04  rgb(242, 203, 4)  hsl(50, 97%, 48%)  Jonquil
#042bf2  rgb(4, 43, 242)  hsl(230, 97%, 48%)  Blue
#04f2cb  rgb(4, 242, 203)  hsl(170, 97%, 48%)  Aquamarine
#cb04f2  rgb(203, 4, 242)  hsl(290, 97%, 48%)  Electric Purple