#CAB40A

#cab40a ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cab40a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 70.59% green and 3.92% blue; printed in CMYK it uses 0% cyan, 10.89% magenta, 95.05% yellow and 20.78% black. Its hue angle is 53.13°, with 90.57% saturation and 41.57% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 10.04:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.24.

Description generated from the measured properties of this color.

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

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

Achromatopsia #b3b3b3 ≈ 0.003% of males
Achromatomaly #bdb48e ≈ 0.001% of males
Protanopia #c7af00 ≈ 1.01% of males
Deuteranopia #cdb721 ≈ 1.27% of males
Tritanopia #dba699 ≈ 0.0001% of males
Protanomaly #c8b100 ≈ 1.08% of males
Deuteranomaly #ccb61a ≈ 4.63% of males
Tritanomaly #d4ac79 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cab40a {
  color: #cab40a;
}
Background
.bg-cab40a {
  background-color: #cab40a;
  color: #000000;
}
Border
.border-cab40a {
  border: 2px solid #cab40a;
}
CSS variables
:root {
  --color-primary: #cab40a;
  --color-primary-rgb: 202 180 10;
  --color-primary-hsl: 53 91% 42%;
}
Gradient
.gradient-cab40a {
  background: linear-gradient(135deg, #cab40a, #80ca0a);
}
Colored shadow
.shadow-cab40a {
  box-shadow: 0 8px 24px rgb(202 180 10 / 0.35);
}

Old Gold
#cab40a  rgb(202, 180, 10)  hsl(53, 91%, 42%)  Old Gold
#0a20ca  rgb(10, 32, 202)  hsl(233, 91%, 42%)  Medium Blue
#0acab4  rgb(10, 202, 180)  hsl(173, 91%, 42%)  Turquoise
#b40aca  rgb(180, 10, 202)  hsl(293, 91%, 42%)  Dark Orchid