#C2B41F

#c2b41f ≈ Old Gold

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

#c2b41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 70.59% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.22% magenta, 84.02% yellow and 23.92% black. Its hue angle is 54.85°, with 72.44% saturation and 44.12% 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.84:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.97.

Description generated from the measured properties of this color.

Conversions of #c2b41f 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.4421

Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b1b1b1 ≈ 0.003% of males
Achromatomaly #b8b28e ≈ 0.001% of males
Protanopia #c5ae00 ≈ 1.01% of males
Deuteranopia #cab42d ≈ 1.27% of males
Tritanopia #d1a79a ≈ 0.0001% of males
Protanomaly #c4b000 ≈ 1.08% of males
Deuteranomaly #c7b428 ≈ 4.63% of males
Tritanomaly #cbac7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c2b41f {
  color: #c2b41f;
}
Background
.bg-c2b41f {
  background-color: #c2b41f;
  color: #000000;
}
Border
.border-c2b41f {
  border: 2px solid #c2b41f;
}
CSS variables
:root {
  --color-primary: #c2b41f;
  --color-primary-rgb: 194 180 31;
  --color-primary-hsl: 55 72% 44%;
}
Gradient
.gradient-c2b41f {
  background: linear-gradient(135deg, #c2b41f, #7ec21f);
}
Colored shadow
.shadow-c2b41f {
  box-shadow: 0 8px 24px rgb(194 180 31 / 0.35);
}

Old Gold
#c2b41f  rgb(194, 180, 31)  hsl(55, 72%, 44%)  Old Gold
#1f2dc2  rgb(31, 45, 194)  hsl(235, 72%, 44%)  Persian Blue
#1fc2b4  rgb(31, 194, 180)  hsl(175, 72%, 44%)  Tiffany Blue
#b41fc2  rgb(180, 31, 194)  hsl(295, 72%, 44%)  Dark Orchid