#CFA42B

#cfa42b ≈ Goldenrod

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

#cfa42b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 64.31% green and 16.86% blue; printed in CMYK it uses 0% cyan, 20.77% magenta, 79.23% yellow and 18.82% black. Its hue angle is 44.27°, with 65.6% saturation and 49.02% 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:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.75.

Description generated from the measured properties of this color.

Conversions of #cfa42b 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.3999

Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #baa789 ≈ 0.001% of males
Protanopia #b8a310 ≈ 1.01% of males
Deuteranopia #c3ae32 ≈ 1.27% of males
Tritanopia #e1958d ≈ 0.0001% of males
Protanomaly #c2a31e ≈ 1.08% of males
Deuteranomaly #c8aa2f ≈ 4.63% of males
Tritanomaly #da9b72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfa42b {
  color: #cfa42b;
}
Background
.bg-cfa42b {
  background-color: #cfa42b;
  color: #000000;
}
Border
.border-cfa42b {
  border: 2px solid #cfa42b;
}
CSS variables
:root {
  --color-primary: #cfa42b;
  --color-primary-rgb: 207 164 43;
  --color-primary-hsl: 44 66% 49%;
}
Gradient
.gradient-cfa42b {
  background: linear-gradient(135deg, #cfa42b, #a8cf2b);
}
Colored shadow
.shadow-cfa42b {
  box-shadow: 0 8px 24px rgb(207 164 43 / 0.35);
}

Goldenrod
#cfa42b  rgb(207, 164, 43)  hsl(44, 66%, 49%)  Goldenrod
#2b56cf  rgb(43, 86, 207)  hsl(224, 66%, 49%)  Sapphire
#2bcfa4  rgb(43, 207, 164)  hsl(164, 66%, 49%)  Caribbean Green
#a42bcf  rgb(164, 43, 207)  hsl(284, 66%, 49%)  Dark Orchid