#CDB315

#cdb315 ≈ Old Gold

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

#cdb315 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 70.2% green and 8.24% blue; printed in CMYK it uses 0% cyan, 12.68% magenta, 89.76% yellow and 19.61% black. Its hue angle is 51.52°, with 81.42% saturation and 44.31% 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 10.05:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.62.

Description generated from the measured properties of this color.

Conversions of #cdb315 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.4527

Readable text 2.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b3b3b3 ≈ 0.003% of males
Achromatomaly #beb38f ≈ 0.001% of males
Protanopia #c6ae00 ≈ 1.01% of males
Deuteranopia #cdb726 ≈ 1.27% of males
Tritanopia #dea499 ≈ 0.0001% of males
Protanomaly #c9b000 ≈ 1.08% of males
Deuteranomaly #cdb620 ≈ 4.63% of males
Tritanomaly #d7aa7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdb315 {
  color: #cdb315;
}
Background
.bg-cdb315 {
  background-color: #cdb315;
  color: #000000;
}
Border
.border-cdb315 {
  border: 2px solid #cdb315;
}
CSS variables
:root {
  --color-primary: #cdb315;
  --color-primary-rgb: 205 179 21;
  --color-primary-hsl: 52 81% 44%;
}
Gradient
.gradient-cdb315 {
  background: linear-gradient(135deg, #cdb315, #8bcd15);
}
Colored shadow
.shadow-cdb315 {
  box-shadow: 0 8px 24px rgb(205 179 21 / 0.35);
}

Old Gold
#cdb315  rgb(205, 179, 21)  hsl(52, 81%, 44%)  Old Gold
#152fcd  rgb(21, 47, 205)  hsl(232, 81%, 44%)  Persian Blue
#15cdb3  rgb(21, 205, 179)  hsl(172, 81%, 44%)  Medium Aquamarine
#b315cd  rgb(179, 21, 205)  hsl(292, 81%, 44%)  Dark Orchid