#CDC021

#cdc021 ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #cdc021 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.5079

Readable text 1.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bdbdbd ≈ 0.003% of males
Achromatomaly #c4be97 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d6c031 ≈ 1.27% of males
Tritanopia #ddb2a4 ≈ 0.0001% of males
Protanomaly #d0bc00 ≈ 1.08% of males
Deuteranomaly #d3c02b ≈ 4.63% of males
Tritanomaly #d7b884 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cdc021  rgb(205, 192, 33)  hsl(55, 72%, 47%)  Citrine
#212ecd  rgb(33, 46, 205)  hsl(235, 72%, 47%)  Persian Blue
#21cdc0  rgb(33, 205, 192)  hsl(175, 72%, 47%)  Medium Turquoise
#c021cd  rgb(192, 33, 205)  hsl(295, 72%, 47%)  Electric Purple