#DCD57F

#dcd57f ≈ Straw

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

#dcd57f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 83.53% green and 49.8% blue; printed in CMYK it uses 0% cyan, 3.18% magenta, 42.27% yellow and 13.73% black. Its hue angle is 55.48°, with 57.06% saturation and 68.04% 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 3.32.

Description generated from the measured properties of this color.

Conversions of #dcd57f 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.6434

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 #d6d3b7 ≈ 0.001% of males
Protanopia #e3cf78 ≈ 1.01% of males
Deuteranopia #e5d483 ≈ 1.27% of males
Tritanopia #e8cbc0 ≈ 0.0001% of males
Protanomaly #e0d27b ≈ 1.08% of males
Deuteranomaly #e2d481 ≈ 4.63% of males
Tritanomaly #e4cfaa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd57f {
  color: #dcd57f;
}
Background
.bg-dcd57f {
  background-color: #dcd57f;
  color: #000000;
}
Border
.border-dcd57f {
  border: 2px solid #dcd57f;
}
CSS variables
:root {
  --color-primary: #dcd57f;
  --color-primary-rgb: 220 213 127;
  --color-primary-hsl: 55 57% 68%;
}
Gradient
.gradient-dcd57f {
  background: linear-gradient(135deg, #dcd57f, #b5dc7f);
}
Colored shadow
.shadow-dcd57f {
  box-shadow: 0 8px 24px rgb(220 213 127 / 0.35);
}

Straw
#dcd57f  rgb(220, 213, 127)  hsl(55, 57%, 68%)  Straw
#7f86dc  rgb(127, 134, 220)  hsl(235, 57%, 68%)  Glaucous
#7fdcd5  rgb(127, 220, 213)  hsl(175, 57%, 68%)  Medium Turquoise
#d57fdc  rgb(213, 127, 220)  hsl(295, 57%, 68%)  Orchid