#CAB321

#cab321 ≈ Old Gold

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

#cab321 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.2% green and 12.94% blue; printed in CMYK it uses 0% cyan, 11.39% magenta, 83.66% yellow and 20.78% black. Its hue angle is 51.83°, 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 9.98:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #cab321 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.4491

Readable text 2.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b3b3b3 ≈ 0.003% of males
Achromatomaly #bcb38f ≈ 0.001% of males
Protanopia #c5ae00 ≈ 1.01% of males
Deuteranopia #ccb62e ≈ 1.27% of males
Tritanopia #daa599 ≈ 0.0001% of males
Protanomaly #c7b004 ≈ 1.08% of males
Deuteranomaly #cbb529 ≈ 4.63% of males
Tritanomaly #d4ab7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#cab321  rgb(202, 179, 33)  hsl(52, 72%, 46%)  Old Gold
#2138ca  rgb(33, 56, 202)  hsl(232, 72%, 46%)  Persian Blue
#21cab3  rgb(33, 202, 179)  hsl(172, 72%, 46%)  Medium Aquamarine
#b321ca  rgb(179, 33, 202)  hsl(292, 72%, 46%)  Dark Orchid