#C0A942

#c0a942 ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#c0a942 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 75.29% red, 66.27% green and 25.88% blue; printed in CMYK it uses 0% cyan, 11.98% magenta, 65.63% yellow and 24.71% black. Its hue angle is 49.05°, with 50% saturation and 50.59% 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:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.69.

Description generated from the measured properties of this color.

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

Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #b3a98c ≈ 0.001% of males
Protanopia #b9a535 ≈ 1.01% of males
Deuteranopia #bfad47 ≈ 1.27% of males
Tritanopia #cf9d93 ≈ 0.0001% of males
Protanomaly #bca73b ≈ 1.08% of males
Deuteranomaly #c0ab45 ≈ 4.63% of males
Tritanomaly #c9a27b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c0a942 {
  color: #c0a942;
}
Background
.bg-c0a942 {
  background-color: #c0a942;
  color: #000000;
}
Border
.border-c0a942 {
  border: 2px solid #c0a942;
}
CSS variables
:root {
  --color-primary: #c0a942;
  --color-primary-rgb: 192 169 66;
  --color-primary-hsl: 49 50% 51%;
}
Gradient
.gradient-c0a942 {
  background: linear-gradient(135deg, #c0a942, #98c042);
}
Colored shadow
.shadow-c0a942 {
  box-shadow: 0 8px 24px rgb(192 169 66 / 0.35);
}

Brass
#c0a942  rgb(192, 169, 66)  hsl(49, 50%, 51%)  Brass
#4259c0  rgb(66, 89, 192)  hsl(229, 50%, 51%)  Sapphire
#42c0a9  rgb(66, 192, 169)  hsl(169, 50%, 51%)  Medium Aquamarine
#a942c0  rgb(169, 66, 192)  hsl(289, 50%, 51%)  Purpureus