#D1CD2C

#d1cd2c ≈ Citrine

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

#d1cd2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 80.39% green and 17.25% blue; printed in CMYK it uses 0% cyan, 1.91% magenta, 78.95% yellow and 18.04% black. Its hue angle is 58.55°, with 65.22% 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 12.48:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.57.

Description generated from the measured properties of this color.

Conversions of #d1cd2c 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.574

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cbcaa1 ≈ 0.001% of males
Protanopia #dfc500 ≈ 1.01% of males
Deuteranopia #e1ca3b ≈ 1.27% of males
Tritanopia #e0bfb0 ≈ 0.0001% of males
Protanomaly #d9c814 ≈ 1.08% of males
Deuteranomaly #dbcb35 ≈ 4.63% of males
Tritanomaly #dac58e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d1cd2c {
  color: #d1cd2c;
}
Background
.bg-d1cd2c {
  background-color: #d1cd2c;
  color: #000000;
}
Border
.border-d1cd2c {
  border: 2px solid #d1cd2c;
}
CSS variables
:root {
  --color-primary: #d1cd2c;
  --color-primary-rgb: 209 205 44;
  --color-primary-hsl: 59 65% 50%;
}
Gradient
.gradient-d1cd2c {
  background: linear-gradient(135deg, #d1cd2c, #82d12c);
}
Colored shadow
.shadow-d1cd2c {
  box-shadow: 0 8px 24px rgb(209 205 44 / 0.35);
}

Citrine
#d1cd2c  rgb(209, 205, 44)  hsl(59, 65%, 50%)  Citrine
#2c30d1  rgb(44, 48, 209)  hsl(239, 65%, 50%)  Persian Blue
#2cd1cd  rgb(44, 209, 205)  hsl(179, 65%, 50%)  Medium Turquoise
#cd2cd1  rgb(205, 44, 209)  hsl(299, 65%, 50%)  Medium Orchid