#FFCD42

#ffcd42 ≈ Sunglow

  • yellow
  • Lightness: high
  • Saturation: strong
  • Warm

#ffcd42 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 100% red, 80.39% green and 25.88% blue; printed in CMYK it uses 0% cyan, 19.61% magenta, 74.12% yellow and 0% black. Its hue angle is 44.13°, with 100% saturation and 62.94% 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 14.06:1 (WCAG AAA). The closest named color is Sunglow (#ffcc33), ΔE 1.12.

Description generated from the measured properties of this color.

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

Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d3d3d3 ≈ 0.003% of males
Achromatomaly #e6d1ac ≈ 0.001% of males
Protanopia #e5cb2b ≈ 1.01% of males
Deuteranopia #f1d949 ≈ 1.27% of males
Tritanopia #ffbbb2 ≈ 0.0001% of males
Protanomaly #f0cc35 ≈ 1.08% of males
Deuteranomaly #f7d446 ≈ 4.63% of males
Tritanomaly #ffc392 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffcd42 {
  color: #ffcd42;
}
Background
.bg-ffcd42 {
  background-color: #ffcd42;
  color: #000000;
}
Border
.border-ffcd42 {
  border: 2px solid #ffcd42;
}
CSS variables
:root {
  --color-primary: #ffcd42;
  --color-primary-rgb: 255 205 66;
  --color-primary-hsl: 44 100% 63%;
}
Gradient
.gradient-ffcd42 {
  background: linear-gradient(135deg, #ffcd42, #d2ff42);
}
Colored shadow
.shadow-ffcd42 {
  box-shadow: 0 8px 24px rgb(255 205 66 / 0.35);
}

Sunglow
#ffcd42  rgb(255, 205, 66)  hsl(44, 100%, 63%)  Sunglow
#4274ff  rgb(66, 116, 255)  hsl(224, 100%, 63%)  Brandeis Blue
#42ffcd  rgb(66, 255, 205)  hsl(164, 100%, 63%)  Aquamarine
#cd42ff  rgb(205, 66, 255)  hsl(284, 100%, 63%)  Medium Orchid