#C2B502

#c2b502 ≈ Old Gold

  • yellow
  • Lightness: low
  • Saturation: vivid
  • Warm

#c2b502 is a color from the yellow family, with low lightness and vivid saturation. In the RGB model it is made of 76.08% red, 70.98% green and 0.78% blue; printed in CMYK it uses 0% cyan, 6.7% magenta, 98.97% yellow and 23.92% black. Its hue angle is 55.94°, with 97.96% saturation and 38.43% 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 9.9:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.75.

Description generated from the measured properties of this color.

Conversions of #c2b502 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.4452

Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b2b2b2 ≈ 0.003% of males
Achromatomaly #b9b38d ≈ 0.001% of males
Protanopia #c7ae00 ≈ 1.01% of males
Deuteranopia #cbb51f ≈ 1.27% of males
Tritanopia #d2a79a ≈ 0.0001% of males
Protanomaly #c5b100 ≈ 1.08% of males
Deuteranomaly #c7b517 ≈ 4.63% of males
Tritanomaly #ccad7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c2b502 {
  color: #c2b502;
}
Background
.bg-c2b502 {
  background-color: #c2b502;
  color: #000000;
}
Border
.border-c2b502 {
  border: 2px solid #c2b502;
}
CSS variables
:root {
  --color-primary: #c2b502;
  --color-primary-rgb: 194 181 2;
  --color-primary-hsl: 56 98% 38%;
}
Gradient
.gradient-c2b502 {
  background: linear-gradient(135deg, #c2b502, #6fc202);
}
Colored shadow
.shadow-c2b502 {
  box-shadow: 0 8px 24px rgb(194 181 2 / 0.35);
}

Old Gold
#c2b502  rgb(194, 181, 2)  hsl(56, 98%, 38%)  Old Gold
#020fc2  rgb(2, 15, 194)  hsl(236, 98%, 38%)  Medium Blue
#02c2b5  rgb(2, 194, 181)  hsl(176, 98%, 38%)  Tiffany Blue
#b502c2  rgb(181, 2, 194)  hsl(296, 98%, 38%)  Dark Orchid