#CDC221

#cdc221 ≈ Citrine

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

#cdc221 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 76.08% green and 12.94% blue; printed in CMYK it uses 0% cyan, 5.37% magenta, 83.9% yellow and 19.61% black. Its hue angle is 56.16°, with 72.27% saturation and 46.67% 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 11.33:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.77.

Description generated from the measured properties of this color.

Conversions of #cdc221 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.5167

Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c4c098 ≈ 0.001% of males
Protanopia #d4bb00 ≈ 1.01% of males
Deuteranopia #d8c131 ≈ 1.27% of males
Tritanopia #ddb4a6 ≈ 0.0001% of males
Protanomaly #d1be00 ≈ 1.08% of males
Deuteranomaly #d4c22b ≈ 4.63% of males
Tritanomaly #d7ba85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc221 {
  color: #cdc221;
}
Background
.bg-cdc221 {
  background-color: #cdc221;
  color: #000000;
}
Border
.border-cdc221 {
  border: 2px solid #cdc221;
}
CSS variables
:root {
  --color-primary: #cdc221;
  --color-primary-rgb: 205 194 33;
  --color-primary-hsl: 56 72% 47%;
}
Gradient
.gradient-cdc221 {
  background: linear-gradient(135deg, #cdc221, #82cd21);
}
Colored shadow
.shadow-cdc221 {
  box-shadow: 0 8px 24px rgb(205 194 33 / 0.35);
}

Citrine
#cdc221  rgb(205, 194, 33)  hsl(56, 72%, 47%)  Citrine
#212ccd  rgb(33, 44, 205)  hsl(236, 72%, 47%)  Persian Blue
#21cdc2  rgb(33, 205, 194)  hsl(176, 72%, 47%)  Medium Turquoise
#c221cd  rgb(194, 33, 205)  hsl(296, 72%, 47%)  Electric Purple