#CFA01F

#cfa01f ≈ Goldenrod

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

#cfa01f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 62.75% green and 12.16% blue; printed in CMYK it uses 0% cyan, 22.71% magenta, 85.02% yellow and 18.82% black. Its hue angle is 43.98°, with 73.95% saturation and 46.67% 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 8.7:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.31.

Description generated from the measured properties of this color.

Conversions of #cfa01f 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.3851

Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #b8a486 ≈ 0.001% of males
Protanopia #b5a000 ≈ 1.01% of males
Deuteranopia #c0ac28 ≈ 1.27% of males
Tritanopia #e19089 ≈ 0.0001% of males
Protanomaly #c0a008 ≈ 1.08% of males
Deuteranomaly #c6a725 ≈ 4.63% of males
Tritanomaly #da976e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfa01f {
  color: #cfa01f;
}
Background
.bg-cfa01f {
  background-color: #cfa01f;
  color: #000000;
}
Border
.border-cfa01f {
  border: 2px solid #cfa01f;
}
CSS variables
:root {
  --color-primary: #cfa01f;
  --color-primary-rgb: 207 160 31;
  --color-primary-hsl: 44 74% 47%;
}
Gradient
.gradient-cfa01f {
  background: linear-gradient(135deg, #cfa01f, #a6cf1f);
}
Colored shadow
.shadow-cfa01f {
  box-shadow: 0 8px 24px rgb(207 160 31 / 0.35);
}

Goldenrod
#cfa01f  rgb(207, 160, 31)  hsl(44, 74%, 47%)  Goldenrod
#1f4ecf  rgb(31, 78, 207)  hsl(224, 74%, 47%)  Sapphire
#1fcfa0  rgb(31, 207, 160)  hsl(164, 74%, 47%)  Caribbean Green
#a01fcf  rgb(160, 31, 207)  hsl(284, 74%, 47%)  Dark Orchid