#DFD021

#dfd021 ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #dfd021 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.6091

Readable text 1.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d4cea4 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #e8d033 ≈ 1.27% of males
Tritanopia #f0c1b2 ≈ 0.0001% of males
Protanomaly #e2cc00 ≈ 1.08% of males
Deuteranomaly #e5d02d ≈ 4.63% of males
Tritanomaly #eac78f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dfd021  rgb(223, 208, 33)  hsl(55, 75%, 50%)  Citrine
#2130df  rgb(33, 48, 223)  hsl(235, 75%, 50%)  Blue
#21dfd0  rgb(33, 223, 208)  hsl(175, 75%, 50%)  Turquoise
#d021df  rgb(208, 33, 223)  hsl(295, 75%, 50%)  Electric Purple