#D1CC42

#d1cc42 ≈ Straw

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

#d1cc42 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 80% green and 25.88% blue; printed in CMYK it uses 0% cyan, 2.39% magenta, 68.42% yellow and 18.04% black. Its hue angle is 57.9°, with 60.85% saturation and 53.92% 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 12.43:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.23.

Description generated from the measured properties of this color.

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

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cbc9a3 ≈ 0.001% of males
Protanopia #ddc42d ≈ 1.01% of males
Deuteranopia #dfc94b ≈ 1.27% of males
Tritanopia #e0bfb1 ≈ 0.0001% of males
Protanomaly #d8c736 ≈ 1.08% of males
Deuteranomaly #daca48 ≈ 4.63% of males
Tritanomaly #dac491 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d1cc42 {
  color: #d1cc42;
}
Background
.bg-d1cc42 {
  background-color: #d1cc42;
  color: #000000;
}
Border
.border-d1cc42 {
  border: 2px solid #d1cc42;
}
CSS variables
:root {
  --color-primary: #d1cc42;
  --color-primary-rgb: 209 204 66;
  --color-primary-hsl: 58 61% 54%;
}
Gradient
.gradient-d1cc42 {
  background: linear-gradient(135deg, #d1cc42, #8fd142);
}
Colored shadow
.shadow-d1cc42 {
  box-shadow: 0 8px 24px rgb(209 204 66 / 0.35);
}

Straw
#d1cc42  rgb(209, 204, 66)  hsl(58, 61%, 54%)  Straw
#4247d1  rgb(66, 71, 209)  hsl(238, 61%, 54%)  Iris
#42d1cc  rgb(66, 209, 204)  hsl(178, 61%, 54%)  Medium Turquoise
#cc42d1  rgb(204, 66, 209)  hsl(298, 61%, 54%)  Medium Orchid