#CDC321

#cdc321 ≈ Citrine

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

#cdc321 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.47% green and 12.94% blue; printed in CMYK it uses 0% cyan, 4.88% magenta, 83.9% yellow and 19.61% black. Its hue angle is 56.51°, 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.42:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.71.

Description generated from the measured properties of this color.

Conversions of #cdc321 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.5212

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c5c199 ≈ 0.001% of males
Protanopia #d5bc00 ≈ 1.01% of males
Deuteranopia #d9c231 ≈ 1.27% of males
Tritanopia #ddb5a7 ≈ 0.0001% of males
Protanomaly #d2bf00 ≈ 1.08% of males
Deuteranomaly #d4c22b ≈ 4.63% of males
Tritanomaly #d7bb86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cdc321  rgb(205, 195, 33)  hsl(57, 72%, 47%)  Citrine
#212bcd  rgb(33, 43, 205)  hsl(237, 72%, 47%)  Persian Blue
#21cdc3  rgb(33, 205, 195)  hsl(177, 72%, 47%)  Medium Turquoise
#c321cd  rgb(195, 33, 205)  hsl(297, 72%, 47%)  Electric Purple