#CCAF2A

#ccaf2a ≈ Old Gold

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

#ccaf2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 68.63% green and 16.47% blue; printed in CMYK it uses 0% cyan, 14.22% magenta, 79.41% yellow and 20% black. Its hue angle is 49.26°, with 65.85% 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.73:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #ccaf2a 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.4366

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

Achromatopsia #b0b0b0 ≈ 0.003% of males
Achromatomaly #bcb08e ≈ 0.001% of males
Protanopia #c2ab05 ≈ 1.01% of males
Deuteranopia #c9b433 ≈ 1.27% of males
Tritanopia #dda196 ≈ 0.0001% of males
Protanomaly #c6ad1a ≈ 1.08% of males
Deuteranomaly #cab230 ≈ 4.63% of males
Tritanomaly #d6a77a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#ccaf2a  rgb(204, 175, 42)  hsl(49, 66%, 48%)  Old Gold
#2a47cc  rgb(42, 71, 204)  hsl(229, 66%, 48%)  Persian Blue
#2accaf  rgb(42, 204, 175)  hsl(169, 66%, 48%)  Medium Aquamarine
#af2acc  rgb(175, 42, 204)  hsl(289, 66%, 48%)  Dark Orchid