#DFD56C

#dfd56c ≈ Straw

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#dfd56c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 83.53% green and 42.35% blue; printed in CMYK it uses 0% cyan, 4.48% magenta, 51.57% yellow and 12.55% black. Its hue angle is 54.78°, with 64.25% saturation and 64.9% 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 13.87:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 1.01.

Description generated from the measured properties of this color.

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

Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #d7d3b2 ≈ 0.001% of males
Protanopia #e5cf62 ≈ 1.01% of males
Deuteranopia #e8d471 ≈ 1.27% of males
Tritanopia #edc9bd ≈ 0.0001% of males
Protanomaly #e3d166 ≈ 1.08% of males
Deuteranomaly #e5d56f ≈ 4.63% of males
Tritanomaly #e8cea3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd56c {
  color: #dfd56c;
}
Background
.bg-dfd56c {
  background-color: #dfd56c;
  color: #000000;
}
Border
.border-dfd56c {
  border: 2px solid #dfd56c;
}
CSS variables
:root {
  --color-primary: #dfd56c;
  --color-primary-rgb: 223 213 108;
  --color-primary-hsl: 55 64% 65%;
}
Gradient
.gradient-dfd56c {
  background: linear-gradient(135deg, #dfd56c, #b0df6c);
}
Colored shadow
.shadow-dfd56c {
  box-shadow: 0 8px 24px rgb(223 213 108 / 0.35);
}

Straw
#dfd56c  rgb(223, 213, 108)  hsl(55, 64%, 65%)  Straw
#6c76df  rgb(108, 118, 223)  hsl(235, 64%, 65%)  Medium Slate Blue
#6cdfd5  rgb(108, 223, 213)  hsl(175, 64%, 65%)  Turquoise
#d56cdf  rgb(213, 108, 223)  hsl(295, 64%, 65%)  Orchid