#CAB41F

#cab41f ≈ Old Gold

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

#cab41f 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.16% blue; printed in CMYK it uses 0% cyan, 10.89% magenta, 84.65% yellow and 20.78% black. Its hue angle is 52.28°, with 73.39% saturation and 45.69% 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.47.

Description generated from the measured properties of this color.

Conversions of #cab41f 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.453

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 #ccb72d ≈ 1.27% of males
Tritanopia #daa69a ≈ 0.0001% of males
Protanomaly #c8b100 ≈ 1.08% of males
Deuteranomaly #cbb628 ≈ 4.63% of males
Tritanomaly #d4ac7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#cab41f  rgb(202, 180, 31)  hsl(52, 73%, 46%)  Old Gold
#1f35ca  rgb(31, 53, 202)  hsl(232, 73%, 46%)  Persian Blue
#1fcab4  rgb(31, 202, 180)  hsl(172, 73%, 46%)  Turquoise
#b41fca  rgb(180, 31, 202)  hsl(292, 73%, 46%)  Dark Orchid