#CDAF04

#cdaf04 ≈ Old Gold

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

#cdaf04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 68.63% green and 1.57% blue; printed in CMYK it uses 0% cyan, 14.63% magenta, 98.05% yellow and 19.61% black. Its hue angle is 51.04°, with 96.17% saturation and 40.98% 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.73:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #cdaf04 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.4365

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 #bdb08c ≈ 0.001% of males
Protanopia #c3ab00 ≈ 1.01% of males
Deuteranopia #cab51d ≈ 1.27% of males
Tritanopia #dea095 ≈ 0.0001% of males
Protanomaly #c7ad00 ≈ 1.08% of males
Deuteranomaly #cbb216 ≈ 4.63% of males
Tritanomaly #d8a676 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdaf04 {
  color: #cdaf04;
}
Background
.bg-cdaf04 {
  background-color: #cdaf04;
  color: #000000;
}
Border
.border-cdaf04 {
  border: 2px solid #cdaf04;
}
CSS variables
:root {
  --color-primary: #cdaf04;
  --color-primary-rgb: 205 175 4;
  --color-primary-hsl: 51 96% 41%;
}
Gradient
.gradient-cdaf04 {
  background: linear-gradient(135deg, #cdaf04, #87cd04);
}
Colored shadow
.shadow-cdaf04 {
  box-shadow: 0 8px 24px rgb(205 175 4 / 0.35);
}

Old Gold
#cdaf04  rgb(205, 175, 4)  hsl(51, 96%, 41%)  Old Gold
#0422cd  rgb(4, 34, 205)  hsl(231, 96%, 41%)  Medium Blue
#04cdaf  rgb(4, 205, 175)  hsl(171, 96%, 41%)  Medium Aquamarine
#af04cd  rgb(175, 4, 205)  hsl(291, 96%, 41%)  Dark Orchid