#CAB421

#cab421 ≈ Old Gold

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

#cab421 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.59% green and 12.94% blue; printed in CMYK it uses 0% cyan, 10.89% magenta, 83.66% yellow and 20.78% black. Its hue angle is 52.19°, with 71.91% saturation and 46.08% 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.06:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.37.

Description generated from the measured properties of this color.

Conversions of #cab421 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.4531

Readable text 2.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b3b3b3 ≈ 0.003% of males
Achromatomaly #bdb490 ≈ 0.001% of males
Protanopia #c6af00 ≈ 1.01% of males
Deuteranopia #ccb72e ≈ 1.27% of males
Tritanopia #daa69a ≈ 0.0001% of males
Protanomaly #c8b104 ≈ 1.08% of males
Deuteranomaly #cbb629 ≈ 4.63% of males
Tritanomaly #d4ac7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cab421 {
  color: #cab421;
}
Background
.bg-cab421 {
  background-color: #cab421;
  color: #000000;
}
Border
.border-cab421 {
  border: 2px solid #cab421;
}
CSS variables
:root {
  --color-primary: #cab421;
  --color-primary-rgb: 202 180 33;
  --color-primary-hsl: 52 72% 46%;
}
Gradient
.gradient-cab421 {
  background: linear-gradient(135deg, #cab421, #8cca21);
}
Colored shadow
.shadow-cab421 {
  box-shadow: 0 8px 24px rgb(202 180 33 / 0.35);
}

Old Gold
#cab421  rgb(202, 180, 33)  hsl(52, 72%, 46%)  Old Gold
#2137ca  rgb(33, 55, 202)  hsl(232, 72%, 46%)  Persian Blue
#21cab4  rgb(33, 202, 180)  hsl(172, 72%, 46%)  Turquoise
#b421ca  rgb(180, 33, 202)  hsl(292, 72%, 46%)  Dark Orchid