#D3CC42

#d3cc42 ≈ Straw

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

#d3cc42 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 80% green and 25.88% blue; printed in CMYK it uses 0% cyan, 3.32% magenta, 68.72% yellow and 17.25% black. Its hue angle is 57.1°, with 62.23% saturation and 54.31% 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.49:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.09.

Description generated from the measured properties of this color.

Conversions of #d3cc42 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.5743

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #ccc9a3 ≈ 0.001% of males
Protanopia #ddc42d ≈ 1.01% of males
Deuteranopia #e0ca4b ≈ 1.27% of males
Tritanopia #e2bfb1 ≈ 0.0001% of males
Protanomaly #d9c836 ≈ 1.08% of males
Deuteranomaly #dbcb48 ≈ 4.63% of males
Tritanomaly #dcc491 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d3cc42  rgb(211, 204, 66)  hsl(57, 62%, 54%)  Straw
#4249d3  rgb(66, 73, 211)  hsl(237, 62%, 54%)  Iris
#42d3cc  rgb(66, 211, 204)  hsl(177, 62%, 54%)  Medium Turquoise
#cc42d3  rgb(204, 66, 211)  hsl(297, 62%, 54%)  Medium Orchid