#CCB412

#ccb412 ≈ Old Gold

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

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

Description generated from the measured properties of this color.

Conversions of #ccb412 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.4552

Readable text 2.08:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #beb48f ≈ 0.001% of males
Protanopia #c7af00 ≈ 1.01% of males
Deuteranopia #cdb725 ≈ 1.27% of males
Tritanopia #dda599 ≈ 0.0001% of males
Protanomaly #c9b100 ≈ 1.08% of males
Deuteranomaly #cdb61f ≈ 4.63% of males
Tritanomaly #d6ab7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#ccb412  rgb(204, 180, 18)  hsl(52, 84%, 44%)  Old Gold
#122acc  rgb(18, 42, 204)  hsl(232, 84%, 44%)  Persian Blue
#12ccb4  rgb(18, 204, 180)  hsl(172, 84%, 44%)  Turquoise
#b412cc  rgb(180, 18, 204)  hsl(292, 84%, 44%)  Dark Orchid