#DFC021

#dfc021 ≈ Jonquil

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#dfc021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 13.9% magenta, 85.2% yellow and 12.55% black. Its hue angle is 50.21°, with 74.8% saturation and 50.2% 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 brand accents. Black text on this color reaches a contrast ratio of 11.7:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 4.06.

Description generated from the measured properties of this color.

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

Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c1c1c1 ≈ 0.003% of males
Achromatomaly #cec19b ≈ 0.001% of males
Protanopia #d5bc00 ≈ 1.01% of males
Deuteranopia #ddc62f ≈ 1.27% of males
Tritanopia #f1b0a4 ≈ 0.0001% of males
Protanomaly #d9bd00 ≈ 1.08% of males
Deuteranomaly #dec32a ≈ 4.63% of males
Tritanomaly #eab784 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfc021 {
  color: #dfc021;
}
Background
.bg-dfc021 {
  background-color: #dfc021;
  color: #000000;
}
Border
.border-dfc021 {
  border: 2px solid #dfc021;
}
CSS variables
:root {
  --color-primary: #dfc021;
  --color-primary-rgb: 223 192 33;
  --color-primary-hsl: 50 75% 50%;
}
Gradient
.gradient-dfc021 {
  background: linear-gradient(135deg, #dfc021, #9fdf21);
}
Colored shadow
.shadow-dfc021 {
  box-shadow: 0 8px 24px rgb(223 192 33 / 0.35);
}

Jonquil
#dfc021  rgb(223, 192, 33)  hsl(50, 75%, 50%)  Jonquil
#2140df  rgb(33, 64, 223)  hsl(230, 75%, 50%)  Persian Blue
#21dfc0  rgb(33, 223, 192)  hsl(170, 75%, 50%)  Turquoise
#c021df  rgb(192, 33, 223)  hsl(290, 75%, 50%)  Electric Purple