#CBAF2C

#cbaf2c ≈ Old Gold

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

#cbaf2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 68.63% green and 17.25% blue; printed in CMYK it uses 0% cyan, 13.79% magenta, 78.33% yellow and 20.39% black. Its hue angle is 49.43°, with 64.37% saturation and 48.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 brand accents. Black text on this color reaches a contrast ratio of 9.71:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 1.83.

Description generated from the measured properties of this color.

Conversions of #cbaf2c 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.4354

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

Achromatopsia #b0b0b0 ≈ 0.003% of males
Achromatomaly #bcb08e ≈ 0.001% of males
Protanopia #c2ab0c ≈ 1.01% of males
Deuteranopia #c9b435 ≈ 1.27% of males
Tritanopia #dca196 ≈ 0.0001% of males
Protanomaly #c5ad1d ≈ 1.08% of males
Deuteranomaly #cab232 ≈ 4.63% of males
Tritanomaly #d5a77a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cbaf2c {
  color: #cbaf2c;
}
Background
.bg-cbaf2c {
  background-color: #cbaf2c;
  color: #000000;
}
Border
.border-cbaf2c {
  border: 2px solid #cbaf2c;
}
CSS variables
:root {
  --color-primary: #cbaf2c;
  --color-primary-rgb: 203 175 44;
  --color-primary-hsl: 49 64% 48%;
}
Gradient
.gradient-cbaf2c {
  background: linear-gradient(135deg, #cbaf2c, #98cb2c);
}
Colored shadow
.shadow-cbaf2c {
  box-shadow: 0 8px 24px rgb(203 175 44 / 0.35);
}

Old Gold
#cbaf2c  rgb(203, 175, 44)  hsl(49, 64%, 48%)  Old Gold
#2c48cb  rgb(44, 72, 203)  hsl(229, 64%, 48%)  Persian Blue
#2ccbaf  rgb(44, 203, 175)  hsl(169, 64%, 48%)  Medium Aquamarine
#af2ccb  rgb(175, 44, 203)  hsl(289, 64%, 48%)  Dark Orchid