#C5B142

#c5b142 ≈ Old Gold

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

#c5b142 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 69.41% green and 25.88% blue; printed in CMYK it uses 0% cyan, 10.15% magenta, 66.5% yellow and 22.75% black. Its hue angle is 50.84°, with 53.04% saturation and 51.57% 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.74:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.41.

Description generated from the measured properties of this color.

Conversions of #c5b142 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.4371

Readable text 2.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b1b1b1 ≈ 0.003% of males
Achromatomaly #b9b191 ≈ 0.001% of males
Protanopia #c2ac34 ≈ 1.01% of males
Deuteranopia #c7b448 ≈ 1.27% of males
Tritanopia #d4a49a ≈ 0.0001% of males
Protanomaly #c3ae3a ≈ 1.08% of males
Deuteranomaly #c6b346 ≈ 4.63% of males
Tritanomaly #ceaa80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c5b142 {
  color: #c5b142;
}
Background
.bg-c5b142 {
  background-color: #c5b142;
  color: #000000;
}
Border
.border-c5b142 {
  border: 2px solid #c5b142;
}
CSS variables
:root {
  --color-primary: #c5b142;
  --color-primary-rgb: 197 177 66;
  --color-primary-hsl: 51 53% 52%;
}
Gradient
.gradient-c5b142 {
  background: linear-gradient(135deg, #c5b142, #98c542);
}
Colored shadow
.shadow-c5b142 {
  box-shadow: 0 8px 24px rgb(197 177 66 / 0.35);
}

Old Gold
#c5b142  rgb(197, 177, 66)  hsl(51, 53%, 52%)  Old Gold
#4256c5  rgb(66, 86, 197)  hsl(231, 53%, 52%)  Iris
#42c5b1  rgb(66, 197, 177)  hsl(171, 53%, 52%)  Medium Aquamarine
#b142c5  rgb(177, 66, 197)  hsl(291, 53%, 52%)  Purpureus