#DFD221

#dfd221 ≈ Citrine

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

#dfd221 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 82.35% green and 12.94% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 85.2% yellow and 12.55% black. Its hue angle is 55.89°, 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 13.38:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.88.

Description generated from the measured properties of this color.

Conversions of #dfd221 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.6189

Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d5d0a5 ≈ 0.001% of males
Protanopia #e6ca00 ≈ 1.01% of males
Deuteranopia #ead133 ≈ 1.27% of males
Tritanopia #f0c3b4 ≈ 0.0001% of males
Protanomaly #e3cd00 ≈ 1.08% of males
Deuteranomaly #e6d22d ≈ 4.63% of males
Tritanomaly #eac990 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dfd221  rgb(223, 210, 33)  hsl(56, 75%, 50%)  Citrine
#212edf  rgb(33, 46, 223)  hsl(236, 75%, 50%)  Blue
#21dfd2  rgb(33, 223, 210)  hsl(176, 75%, 50%)  Turquoise
#d221df  rgb(210, 33, 223)  hsl(296, 75%, 50%)  Medium Orchid