#DCD52F

#dcd52f ≈ Citrine

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

#dcd52f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 83.53% green and 18.43% blue; printed in CMYK it uses 0% cyan, 3.18% magenta, 78.64% yellow and 13.73% black. Its hue angle is 57.57°, with 71.19% saturation and 52.35% 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.6:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #dcd52f 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.6301

Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d5d2a8 ≈ 0.001% of males
Protanopia #e8cd00 ≈ 1.01% of males
Deuteranopia #ebd33e ≈ 1.27% of males
Tritanopia #ecc6b7 ≈ 0.0001% of males
Protanomaly #e3d017 ≈ 1.08% of males
Deuteranomaly #e5d438 ≈ 4.63% of males
Tritanomaly #e6cc94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd52f {
  color: #dcd52f;
}
Background
.bg-dcd52f {
  background-color: #dcd52f;
  color: #000000;
}
Border
.border-dcd52f {
  border: 2px solid #dcd52f;
}
CSS variables
:root {
  --color-primary: #dcd52f;
  --color-primary-rgb: 220 213 47;
  --color-primary-hsl: 58 71% 52%;
}
Gradient
.gradient-dcd52f {
  background: linear-gradient(135deg, #dcd52f, #8cdc2f);
}
Colored shadow
.shadow-dcd52f {
  box-shadow: 0 8px 24px rgb(220 213 47 / 0.35);
}

Citrine
#dcd52f  rgb(220, 213, 47)  hsl(58, 71%, 52%)  Citrine
#2f36dc  rgb(47, 54, 220)  hsl(238, 71%, 52%)  Persian Blue
#2fdcd5  rgb(47, 220, 213)  hsl(178, 71%, 52%)  Medium Turquoise
#d52fdc  rgb(213, 47, 220)  hsl(298, 71%, 52%)  Medium Orchid