#CCB112

#ccb112 ≈ Old Gold

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

#ccb112 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 69.41% green and 7.06% blue; printed in CMYK it uses 0% cyan, 13.24% magenta, 91.18% yellow and 20% black. Its hue angle is 51.29°, with 83.78% saturation and 43.53% 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 9.87:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.75.

Description generated from the measured properties of this color.

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

Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b2b2b2 ≈ 0.003% of males
Achromatomaly #bdb18d ≈ 0.001% of males
Protanopia #c4ad00 ≈ 1.01% of males
Deuteranopia #cbb624 ≈ 1.27% of males
Tritanopia #dda297 ≈ 0.0001% of males
Protanomaly #c7ae00 ≈ 1.08% of males
Deuteranomaly #ccb41e ≈ 4.63% of males
Tritanomaly #d6a878 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#ccb112  rgb(204, 177, 18)  hsl(51, 84%, 44%)  Old Gold
#122dcc  rgb(18, 45, 204)  hsl(231, 84%, 44%)  Persian Blue
#12ccb1  rgb(18, 204, 177)  hsl(171, 84%, 44%)  Medium Aquamarine
#b112cc  rgb(177, 18, 204)  hsl(291, 84%, 44%)  Dark Orchid