#CDC012

#cdc012 ≈ Citrine

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

#cdc012 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 7.06% blue; printed in CMYK it uses 0% cyan, 6.34% magenta, 91.22% yellow and 19.61% black. Its hue angle is 55.83°, with 83.86% saturation and 43.73% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 11.14:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.74.

Description generated from the measured properties of this color.

Conversions of #cdc012 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5072

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

Achromatopsia #bdbdbd ≈ 0.003% of males
Achromatomaly #c3be96 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d7c028 ≈ 1.27% of males
Tritanopia #ddb2a4 ≈ 0.0001% of males
Protanomaly #d0bc00 ≈ 1.08% of males
Deuteranomaly #d3c021 ≈ 4.63% of males
Tritanomaly #d7b882 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc012 {
  color: #cdc012;
}
Background
.bg-cdc012 {
  background-color: #cdc012;
  color: #000000;
}
Border
.border-cdc012 {
  border: 2px solid #cdc012;
}
CSS variables
:root {
  --color-primary: #cdc012;
  --color-primary-rgb: 205 192 18;
  --color-primary-hsl: 56 84% 44%;
}
Gradient
.gradient-cdc012 {
  background: linear-gradient(135deg, #cdc012, #7dcd12);
}
Colored shadow
.shadow-cdc012 {
  box-shadow: 0 8px 24px rgb(205 192 18 / 0.35);
}

Citrine
#cdc012  rgb(205, 192, 18)  hsl(56, 84%, 44%)  Citrine
#121fcd  rgb(18, 31, 205)  hsl(236, 84%, 44%)  Medium Blue
#12cdc0  rgb(18, 205, 192)  hsl(176, 84%, 44%)  Medium Turquoise
#c012cd  rgb(192, 18, 205)  hsl(296, 84%, 44%)  Dark Orchid