#CAB50F

#cab50f ≈ Old Gold

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

#cab50f 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 5.88% blue; printed in CMYK it uses 0% cyan, 10.4% magenta, 92.57% yellow and 20.78% black. Its hue angle is 53.26°, with 86.18% saturation and 42.55% 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.13:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.25.

Description generated from the measured properties of this color.

Conversions of #cab50f 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.4564

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

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #bdb48f ≈ 0.001% of males
Protanopia #c8b000 ≈ 1.01% of males
Deuteranopia #cdb724 ≈ 1.27% of males
Tritanopia #dba79a ≈ 0.0001% of males
Protanomaly #c9b200 ≈ 1.08% of males
Deuteranomaly #ccb71d ≈ 4.63% of males
Tritanomaly #d4ad7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#cab50f  rgb(202, 181, 15)  hsl(53, 86%, 43%)  Old Gold
#0f24ca  rgb(15, 36, 202)  hsl(233, 86%, 43%)  Medium Blue
#0fcab5  rgb(15, 202, 181)  hsl(173, 86%, 43%)  Turquoise
#b50fca  rgb(181, 15, 202)  hsl(293, 86%, 43%)  Dark Orchid