#F8CD2F

#f8cd2f ≈ Jonquil

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

#f8cd2f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 97.25% red, 80.39% green and 18.43% blue; printed in CMYK it uses 0% cyan, 17.34% magenta, 81.05% yellow and 2.75% black. Its hue angle is 47.16°, with 93.49% saturation and 57.84% 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.76:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.33.

Description generated from the measured properties of this color.

Conversions of #f8cd2f 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.6382

Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d1d1d1 ≈ 0.003% of males
Achromatomaly #e2cfa9 ≈ 0.001% of males
Protanopia #e5ca00 ≈ 1.01% of males
Deuteranopia #efd63a ≈ 1.27% of males
Tritanopia #ffbbb0 ≈ 0.0001% of males
Protanomaly #edcb19 ≈ 1.08% of males
Deuteranomaly #f3d336 ≈ 4.63% of males
Tritanomaly #ffc38e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8cd2f {
  color: #f8cd2f;
}
Background
.bg-f8cd2f {
  background-color: #f8cd2f;
  color: #000000;
}
Border
.border-f8cd2f {
  border: 2px solid #f8cd2f;
}
CSS variables
:root {
  --color-primary: #f8cd2f;
  --color-primary-rgb: 248 205 47;
  --color-primary-hsl: 47 93% 58%;
}
Gradient
.gradient-f8cd2f {
  background: linear-gradient(135deg, #f8cd2f, #bff82f);
}
Colored shadow
.shadow-f8cd2f {
  box-shadow: 0 8px 24px rgb(248 205 47 / 0.35);
}

Jonquil
#f8cd2f  rgb(248, 205, 47)  hsl(47, 93%, 58%)  Jonquil
#2f5af8  rgb(47, 90, 248)  hsl(227, 93%, 58%)  Ultramarine Blue
#2ff8cd  rgb(47, 248, 205)  hsl(167, 93%, 58%)  Aquamarine
#cd2ff8  rgb(205, 47, 248)  hsl(287, 93%, 58%)  Electric Purple