#DCD174

#dcd174 ≈ Straw

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

#dcd174 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 81.96% green and 45.49% blue; printed in CMYK it uses 0% cyan, 5% magenta, 47.27% yellow and 13.73% black. Its hue angle is 53.65°, with 59.77% saturation and 65.88% 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.42:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.53.

Description generated from the measured properties of this color.

Conversions of #dcd174 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.6208

Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d4d0b1 ≈ 0.001% of males
Protanopia #e0cc6c ≈ 1.01% of males
Deuteranopia #e3d178 ≈ 1.27% of males
Tritanopia #e9c6bb ≈ 0.0001% of males
Protanomaly #dece6f ≈ 1.08% of males
Deuteranomaly #e1d176 ≈ 4.63% of males
Tritanomaly #e4caa3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#dcd174  rgb(220, 209, 116)  hsl(54, 60%, 66%)  Straw
#747fdc  rgb(116, 127, 220)  hsl(234, 60%, 66%)  Glaucous
#74dcd1  rgb(116, 220, 209)  hsl(174, 60%, 66%)  Turquoise
#d174dc  rgb(209, 116, 220)  hsl(294, 60%, 66%)  Orchid