#DCCC2C

#dccc2c ≈ Citrine

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

#dccc2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 80% green and 17.25% blue; printed in CMYK it uses 0% cyan, 7.27% magenta, 80% yellow and 13.73% black. Its hue angle is 54.55°, 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 12.72:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.24.

Description generated from the measured properties of this color.

Conversions of #dccc2c 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.5858

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #d1caa2 ≈ 0.001% of males
Protanopia #dfc500 ≈ 1.01% of males
Deuteranopia #e4cd3a ≈ 1.27% of males
Tritanopia #edbdaf ≈ 0.0001% of males
Protanomaly #dec814 ≈ 1.08% of males
Deuteranomaly #e1cc35 ≈ 4.63% of males
Tritanomaly #e6c38d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dccc2c  rgb(220, 204, 44)  hsl(55, 72%, 52%)  Citrine
#2c3cdc  rgb(44, 60, 220)  hsl(235, 72%, 52%)  Persian Blue
#2cdccc  rgb(44, 220, 204)  hsl(175, 72%, 52%)  Turquoise
#cc2cdc  rgb(204, 44, 220)  hsl(295, 72%, 52%)  Medium Orchid