#CBAB2B

#cbab2b ≈ Metallic Gold

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

#cbab2b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 67.06% green and 16.86% blue; printed in CMYK it uses 0% cyan, 15.76% magenta, 78.82% yellow and 20.39% black. Its hue angle is 48°, with 65.04% saturation and 48.24% 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.4:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 2.15.

Description generated from the measured properties of this color.

Conversions of #cbab2b 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.42

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

Achromatopsia #adadad ≈ 0.003% of males
Achromatomaly #baac8c ≈ 0.001% of males
Protanopia #bea80b ≈ 1.01% of males
Deuteranopia #c6b134 ≈ 1.27% of males
Tritanopia #dc9d93 ≈ 0.0001% of males
Protanomaly #c3a91c ≈ 1.08% of males
Deuteranomaly #c8af30 ≈ 4.63% of males
Tritanomaly #d5a377 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cbab2b {
  color: #cbab2b;
}
Background
.bg-cbab2b {
  background-color: #cbab2b;
  color: #000000;
}
Border
.border-cbab2b {
  border: 2px solid #cbab2b;
}
CSS variables
:root {
  --color-primary: #cbab2b;
  --color-primary-rgb: 203 171 43;
  --color-primary-hsl: 48 65% 48%;
}
Gradient
.gradient-cbab2b {
  background: linear-gradient(135deg, #cbab2b, #9bcb2b);
}
Colored shadow
.shadow-cbab2b {
  box-shadow: 0 8px 24px rgb(203 171 43 / 0.35);
}

Metallic Gold
#cbab2b  rgb(203, 171, 43)  hsl(48, 65%, 48%)  Metallic Gold
#2b4bcb  rgb(43, 75, 203)  hsl(228, 65%, 48%)  Sapphire
#2bcbab  rgb(43, 203, 171)  hsl(168, 65%, 48%)  Medium Aquamarine
#ab2bcb  rgb(171, 43, 203)  hsl(288, 65%, 48%)  Dark Orchid