#CDC31C

#cdc31c ≈ Citrine

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

#cdc31c 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 10.98% blue; printed in CMYK it uses 0% cyan, 4.88% magenta, 86.34% yellow and 19.61% black. Its hue angle is 56.61°, with 75.97% saturation and 45.69% 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.62.

Description generated from the measured properties of this color.

Conversions of #cdc31c 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.5209

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 #d9c22e ≈ 1.27% of males
Tritanopia #ddb5a6 ≈ 0.0001% of males
Protanomaly #d2bf00 ≈ 1.08% of males
Deuteranomaly #d4c228 ≈ 4.63% of males
Tritanomaly #d7bb85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc31c {
  color: #cdc31c;
}
Background
.bg-cdc31c {
  background-color: #cdc31c;
  color: #000000;
}
Border
.border-cdc31c {
  border: 2px solid #cdc31c;
}
CSS variables
:root {
  --color-primary: #cdc31c;
  --color-primary-rgb: 205 195 28;
  --color-primary-hsl: 57 76% 46%;
}
Gradient
.gradient-cdc31c {
  background: linear-gradient(135deg, #cdc31c, #7fcd1c);
}
Colored shadow
.shadow-cdc31c {
  box-shadow: 0 8px 24px rgb(205 195 28 / 0.35);
}

Citrine
#cdc31c  rgb(205, 195, 28)  hsl(57, 76%, 46%)  Citrine
#1c26cd  rgb(28, 38, 205)  hsl(237, 76%, 46%)  Medium Blue
#1ccdc3  rgb(28, 205, 195)  hsl(177, 76%, 46%)  Medium Turquoise
#c31ccd  rgb(195, 28, 205)  hsl(297, 76%, 46%)  Electric Purple