#CAB522

#cab522 ≈ Old Gold

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

#cab522 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 70.98% green and 13.33% blue; printed in CMYK it uses 0% cyan, 10.4% magenta, 83.17% yellow and 20.78% black. Its hue angle is 52.5°, with 71.19% saturation and 46.27% 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 10.14:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.49.

Description generated from the measured properties of this color.

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

Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #bdb490 ≈ 0.001% of males
Protanopia #c7b000 ≈ 1.01% of males
Deuteranopia #cdb82f ≈ 1.27% of males
Tritanopia #daa79b ≈ 0.0001% of males
Protanomaly #c8b206 ≈ 1.08% of males
Deuteranomaly #ccb72a ≈ 4.63% of males
Tritanomaly #d4ad7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cab522 {
  color: #cab522;
}
Background
.bg-cab522 {
  background-color: #cab522;
  color: #000000;
}
Border
.border-cab522 {
  border: 2px solid #cab522;
}
CSS variables
:root {
  --color-primary: #cab522;
  --color-primary-rgb: 202 181 34;
  --color-primary-hsl: 53 71% 46%;
}
Gradient
.gradient-cab522 {
  background: linear-gradient(135deg, #cab522, #8bca22);
}
Colored shadow
.shadow-cab522 {
  box-shadow: 0 8px 24px rgb(202 181 34 / 0.35);
}

Old Gold
#cab522  rgb(202, 181, 34)  hsl(53, 71%, 46%)  Old Gold
#2237ca  rgb(34, 55, 202)  hsl(233, 71%, 46%)  Persian Blue
#22cab5  rgb(34, 202, 181)  hsl(173, 71%, 46%)  Turquoise
#b522ca  rgb(181, 34, 202)  hsl(293, 71%, 46%)  Dark Orchid