#CAB940

#cab940 ≈ Old Gold

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

#cab940 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 72.55% green and 25.1% blue; printed in CMYK it uses 0% cyan, 8.42% magenta, 68.32% yellow and 20.78% black. Its hue angle is 52.61°, with 56.56% saturation and 52.16% 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.52:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.59.

Description generated from the measured properties of this color.

Conversions of #cab940 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.4762

Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b7b7b7 ≈ 0.003% of males
Achromatomaly #bfb896 ≈ 0.001% of males
Protanopia #cab42f ≈ 1.01% of males
Deuteranopia #cfbb47 ≈ 1.27% of males
Tritanopia #d9aca0 ≈ 0.0001% of males
Protanomaly #cab636 ≈ 1.08% of males
Deuteranomaly #cdba44 ≈ 4.63% of males
Tritanomaly #d3b185 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cab940 {
  color: #cab940;
}
Background
.bg-cab940 {
  background-color: #cab940;
  color: #000000;
}
Border
.border-cab940 {
  border: 2px solid #cab940;
}
CSS variables
:root {
  --color-primary: #cab940;
  --color-primary-rgb: 202 185 64;
  --color-primary-hsl: 53 57% 52%;
}
Gradient
.gradient-cab940 {
  background: linear-gradient(135deg, #cab940, #96ca40);
}
Colored shadow
.shadow-cab940 {
  box-shadow: 0 8px 24px rgb(202 185 64 / 0.35);
}

Old Gold
#cab940  rgb(202, 185, 64)  hsl(53, 57%, 52%)  Old Gold
#4051ca  rgb(64, 81, 202)  hsl(233, 57%, 52%)  Iris
#40cab9  rgb(64, 202, 185)  hsl(173, 57%, 52%)  Medium Turquoise
#b940ca  rgb(185, 64, 202)  hsl(293, 57%, 52%)  Medium Orchid