#CDC017

#cdc017 ≈ Citrine

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

#cdc017 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 9.02% blue; printed in CMYK it uses 0% cyan, 6.34% magenta, 88.78% yellow and 19.61% black. Its hue angle is 55.71°, with 79.82% saturation and 44.71% 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.15:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.79.

Description generated from the measured properties of this color.

Conversions of #cdc017 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.5074

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

Achromatopsia #bdbdbd ≈ 0.003% of males
Achromatomaly #c3be97 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d6c02b ≈ 1.27% of males
Tritanopia #ddb2a4 ≈ 0.0001% of males
Protanomaly #d0bc00 ≈ 1.08% of males
Deuteranomaly #d3c024 ≈ 4.63% of males
Tritanomaly #d7b883 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cdc017  rgb(205, 192, 23)  hsl(56, 80%, 45%)  Citrine
#1724cd  rgb(23, 36, 205)  hsl(236, 80%, 45%)  Medium Blue
#17cdc0  rgb(23, 205, 192)  hsl(176, 80%, 45%)  Medium Turquoise
#c017cd  rgb(192, 23, 205)  hsl(296, 80%, 45%)  Dark Orchid