#CAB52B

#cab52b ≈ Old Gold

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

#cab52b 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 16.86% blue; printed in CMYK it uses 0% cyan, 10.4% magenta, 78.71% yellow and 20.78% black. Its hue angle is 52.08°, with 64.9% saturation and 48.04% 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.16:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.02.

Description generated from the measured properties of this color.

Conversions of #cab52b 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.4578

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

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #bdb591 ≈ 0.001% of males
Protanopia #c7b003 ≈ 1.01% of males
Deuteranopia #cdb836 ≈ 1.27% of males
Tritanopia #daa79b ≈ 0.0001% of males
Protanomaly #c8b21a ≈ 1.08% of males
Deuteranomaly #ccb732 ≈ 4.63% of males
Tritanomaly #d4ad7e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cab52b {
  color: #cab52b;
}
Background
.bg-cab52b {
  background-color: #cab52b;
  color: #000000;
}
Border
.border-cab52b {
  border: 2px solid #cab52b;
}
CSS variables
:root {
  --color-primary: #cab52b;
  --color-primary-rgb: 202 181 43;
  --color-primary-hsl: 52 65% 48%;
}
Gradient
.gradient-cab52b {
  background: linear-gradient(135deg, #cab52b, #8fca2b);
}
Colored shadow
.shadow-cab52b {
  box-shadow: 0 8px 24px rgb(202 181 43 / 0.35);
}

Old Gold
#cab52b  rgb(202, 181, 43)  hsl(52, 65%, 48%)  Old Gold
#2b40ca  rgb(43, 64, 202)  hsl(232, 65%, 48%)  Persian Blue
#2bcab5  rgb(43, 202, 181)  hsl(172, 65%, 48%)  Turquoise
#b52bca  rgb(181, 43, 202)  hsl(292, 65%, 48%)  Dark Orchid