#DCD021

#dcd021 ≈ Citrine

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

#dcd021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 81.57% green and 12.94% blue; printed in CMYK it uses 0% cyan, 5.45% magenta, 85% yellow and 13.73% black. Its hue angle is 56.15°, with 73.91% saturation and 49.61% 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.09:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.18.

Description generated from the measured properties of this color.

Conversions of #dcd021 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.6044

Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d3cea3 ≈ 0.001% of males
Protanopia #e3c800 ≈ 1.01% of males
Deuteranopia #e7cf33 ≈ 1.27% of males
Tritanopia #edc1b2 ≈ 0.0001% of males
Protanomaly #e0cb00 ≈ 1.08% of males
Deuteranomaly #e3d02d ≈ 4.63% of males
Tritanomaly #e6c78e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dcd021  rgb(220, 208, 33)  hsl(56, 74%, 50%)  Citrine
#212ddc  rgb(33, 45, 220)  hsl(236, 74%, 50%)  Blue
#21dcd0  rgb(33, 220, 208)  hsl(176, 74%, 50%)  Turquoise
#d021dc  rgb(208, 33, 220)  hsl(296, 74%, 50%)  Medium Orchid