#DCD02C

#dcd02c ≈ Citrine

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

#dcd02c 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 17.25% blue; printed in CMYK it uses 0% cyan, 5.45% magenta, 80% yellow and 13.73% black. Its hue angle is 55.91°, with 71.54% saturation and 51.76% 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.1:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.5.

Description generated from the measured properties of this color.

Conversions of #dcd02c 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.6051

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

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d3cea4 ≈ 0.001% of males
Protanopia #e3c800 ≈ 1.01% of males
Deuteranopia #e7cf3b ≈ 1.27% of males
Tritanopia #edc1b2 ≈ 0.0001% of males
Protanomaly #e0cc12 ≈ 1.08% of males
Deuteranomaly #e3d035 ≈ 4.63% of males
Tritanomaly #e6c790 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dcd02c  rgb(220, 208, 44)  hsl(56, 72%, 52%)  Citrine
#2c38dc  rgb(44, 56, 220)  hsl(236, 72%, 52%)  Persian Blue
#2cdcd0  rgb(44, 220, 208)  hsl(176, 72%, 52%)  Turquoise
#d02cdc  rgb(208, 44, 220)  hsl(296, 72%, 52%)  Medium Orchid