#CDB50A

#cdb50a ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cdb50a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 70.98% green and 3.92% blue; printed in CMYK it uses 0% cyan, 11.71% magenta, 95.12% yellow and 19.61% black. Its hue angle is 52.62°, with 90.7% saturation and 42.16% 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.21:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.12.

Description generated from the measured properties of this color.

Conversions of #cdb50a 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.4605

Readable text 2.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b5b5b5 ≈ 0.003% of males
Achromatomaly #bfb590 ≈ 0.001% of males
Protanopia #c8b000 ≈ 1.01% of males
Deuteranopia #cfb821 ≈ 1.27% of males
Tritanopia #dea69a ≈ 0.0001% of males
Protanomaly #cab200 ≈ 1.08% of males
Deuteranomaly #ceb71a ≈ 4.63% of males
Tritanomaly #d7ac7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdb50a {
  color: #cdb50a;
}
Background
.bg-cdb50a {
  background-color: #cdb50a;
  color: #000000;
}
Border
.border-cdb50a {
  border: 2px solid #cdb50a;
}
CSS variables
:root {
  --color-primary: #cdb50a;
  --color-primary-rgb: 205 181 10;
  --color-primary-hsl: 53 91% 42%;
}
Gradient
.gradient-cdb50a {
  background: linear-gradient(135deg, #cdb50a, #83cd0a);
}
Colored shadow
.shadow-cdb50a {
  box-shadow: 0 8px 24px rgb(205 181 10 / 0.35);
}

Old Gold
#cdb50a  rgb(205, 181, 10)  hsl(53, 91%, 42%)  Old Gold
#0a22cd  rgb(10, 34, 205)  hsl(233, 91%, 42%)  Medium Blue
#0acdb5  rgb(10, 205, 181)  hsl(173, 91%, 42%)  Turquoise
#b50acd  rgb(181, 10, 205)  hsl(293, 91%, 42%)  Dark Orchid