#CFAF03

#cfaf03 ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cfaf03 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 68.63% green and 1.18% blue; printed in CMYK it uses 0% cyan, 15.46% magenta, 98.55% yellow and 18.82% black. Its hue angle is 50.59°, with 97.14% saturation and 41.18% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 9.79:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.46.

Description generated from the measured properties of this color.

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

Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b1b1b1 ≈ 0.003% of males
Achromatomaly #beb08c ≈ 0.001% of males
Protanopia #c3ab00 ≈ 1.01% of males
Deuteranopia #cbb51c ≈ 1.27% of males
Tritanopia #e1a095 ≈ 0.0001% of males
Protanomaly #c8ad00 ≈ 1.08% of males
Deuteranomaly #cdb315 ≈ 4.63% of males
Tritanomaly #daa676 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfaf03 {
  color: #cfaf03;
}
Background
.bg-cfaf03 {
  background-color: #cfaf03;
  color: #000000;
}
Border
.border-cfaf03 {
  border: 2px solid #cfaf03;
}
CSS variables
:root {
  --color-primary: #cfaf03;
  --color-primary-rgb: 207 175 3;
  --color-primary-hsl: 51 97% 41%;
}
Gradient
.gradient-cfaf03 {
  background: linear-gradient(135deg, #cfaf03, #89cf03);
}
Colored shadow
.shadow-cfaf03 {
  box-shadow: 0 8px 24px rgb(207 175 3 / 0.35);
}

Old Gold
#cfaf03  rgb(207, 175, 3)  hsl(51, 97%, 41%)  Old Gold
#0323cf  rgb(3, 35, 207)  hsl(231, 97%, 41%)  Medium Blue
#03cfaf  rgb(3, 207, 175)  hsl(171, 97%, 41%)  Medium Aquamarine
#af03cf  rgb(175, 3, 207)  hsl(291, 97%, 41%)  Dark Orchid