#F8CD2C

#f8cd2c ≈ Jonquil

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

#f8cd2c 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 17.25% blue; printed in CMYK it uses 0% cyan, 17.34% magenta, 82.26% yellow and 2.75% black. Its hue angle is 47.35°, with 93.58% saturation and 57.25% 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.18.

Description generated from the measured properties of this color.

Conversions of #f8cd2c 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.638

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 #e2cfa8 ≈ 0.001% of males
Protanopia #e5ca00 ≈ 1.01% of males
Deuteranopia #efd638 ≈ 1.27% of males
Tritanopia #ffbbb0 ≈ 0.0001% of males
Protanomaly #edcb12 ≈ 1.08% of males
Deuteranomaly #f3d334 ≈ 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-f8cd2c {
  color: #f8cd2c;
}
Background
.bg-f8cd2c {
  background-color: #f8cd2c;
  color: #000000;
}
Border
.border-f8cd2c {
  border: 2px solid #f8cd2c;
}
CSS variables
:root {
  --color-primary: #f8cd2c;
  --color-primary-rgb: 248 205 44;
  --color-primary-hsl: 47 94% 57%;
}
Gradient
.gradient-f8cd2c {
  background: linear-gradient(135deg, #f8cd2c, #bdf82c);
}
Colored shadow
.shadow-f8cd2c {
  box-shadow: 0 8px 24px rgb(248 205 44 / 0.35);
}

Jonquil
#f8cd2c  rgb(248, 205, 44)  hsl(47, 94%, 57%)  Jonquil
#2c57f8  rgb(44, 87, 248)  hsl(227, 94%, 57%)  Ultramarine Blue
#2cf8cd  rgb(44, 248, 205)  hsl(167, 94%, 57%)  Aquamarine
#cd2cf8  rgb(205, 44, 248)  hsl(287, 94%, 57%)  Electric Purple