#C2AF07

#c2af07 ≈ Old Gold

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#c2af07 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 76.08% red, 68.63% green and 2.75% blue; printed in CMYK it uses 0% cyan, 9.79% magenta, 96.39% yellow and 23.92% black. Its hue angle is 53.9°, with 93.03% saturation and 39.41% 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.43:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.9.

Description generated from the measured properties of this color.

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

Readable text 2.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #b6ae8a ≈ 0.001% of males
Protanopia #c1a900 ≈ 1.01% of males
Deuteranopia #c6b120 ≈ 1.27% of males
Tritanopia #d2a195 ≈ 0.0001% of males
Protanomaly #c1ac00 ≈ 1.08% of males
Deuteranomaly #c5b018 ≈ 4.63% of males
Tritanomaly #cca776 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c2af07 {
  color: #c2af07;
}
Background
.bg-c2af07 {
  background-color: #c2af07;
  color: #000000;
}
Border
.border-c2af07 {
  border: 2px solid #c2af07;
}
CSS variables
:root {
  --color-primary: #c2af07;
  --color-primary-rgb: 194 175 7;
  --color-primary-hsl: 54 93% 39%;
}
Gradient
.gradient-c2af07 {
  background: linear-gradient(135deg, #c2af07, #78c207);
}
Colored shadow
.shadow-c2af07 {
  box-shadow: 0 8px 24px rgb(194 175 7 / 0.35);
}

Old Gold
#c2af07  rgb(194, 175, 7)  hsl(54, 93%, 39%)  Old Gold
#071ac2  rgb(7, 26, 194)  hsl(234, 93%, 39%)  Medium Blue
#07c2af  rgb(7, 194, 175)  hsl(174, 93%, 39%)  Tiffany Blue
#af07c2  rgb(175, 7, 194)  hsl(294, 93%, 39%)  Dark Orchid