#D2CC2C

#d2cc2c ≈ Citrine

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

#d2cc2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 80% green and 17.25% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 79.05% yellow and 17.65% black. Its hue angle is 57.83°, with 65.35% saturation and 49.8% 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.41:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.23.

Description generated from the measured properties of this color.

Conversions of #d2cc2c 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.5707

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cbc9a0 ≈ 0.001% of males
Protanopia #dec400 ≈ 1.01% of males
Deuteranopia #e1ca3a ≈ 1.27% of males
Tritanopia #e2beaf ≈ 0.0001% of males
Protanomaly #d9c714 ≈ 1.08% of males
Deuteranomaly #dbcb35 ≈ 4.63% of males
Tritanomaly #dcc48d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cc2c {
  color: #d2cc2c;
}
Background
.bg-d2cc2c {
  background-color: #d2cc2c;
  color: #000000;
}
Border
.border-d2cc2c {
  border: 2px solid #d2cc2c;
}
CSS variables
:root {
  --color-primary: #d2cc2c;
  --color-primary-rgb: 210 204 44;
  --color-primary-hsl: 58 65% 50%;
}
Gradient
.gradient-d2cc2c {
  background: linear-gradient(135deg, #d2cc2c, #85d22c);
}
Colored shadow
.shadow-d2cc2c {
  box-shadow: 0 8px 24px rgb(210 204 44 / 0.35);
}

Citrine
#d2cc2c  rgb(210, 204, 44)  hsl(58, 65%, 50%)  Citrine
#2c32d2  rgb(44, 50, 210)  hsl(238, 65%, 50%)  Persian Blue
#2cd2cc  rgb(44, 210, 204)  hsl(178, 65%, 50%)  Medium Turquoise
#cc2cd2  rgb(204, 44, 210)  hsl(298, 65%, 50%)  Medium Orchid