#DCD96C

#dcd96c ≈ Straw

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

#dcd96c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 85.1% green and 42.35% blue; printed in CMYK it uses 0% cyan, 1.36% magenta, 50.91% yellow and 13.73% black. Its hue angle is 58.39°, with 61.54% saturation and 64.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 14.18:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.12.

Description generated from the measured properties of this color.

Conversions of #dcd96c 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.6592

Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #d7d6b4 ≈ 0.001% of males
Protanopia #e8d262 ≈ 1.01% of males
Deuteranopia #ead671 ≈ 1.27% of males
Tritanopia #e9cdc0 ≈ 0.0001% of males
Protanomaly #e3d566 ≈ 1.08% of males
Deuteranomaly #e5d76f ≈ 4.63% of males
Tritanomaly #e4d2a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd96c {
  color: #dcd96c;
}
Background
.bg-dcd96c {
  background-color: #dcd96c;
  color: #000000;
}
Border
.border-dcd96c {
  border: 2px solid #dcd96c;
}
CSS variables
:root {
  --color-primary: #dcd96c;
  --color-primary-rgb: 220 217 108;
  --color-primary-hsl: 58 62% 64%;
}
Gradient
.gradient-dcd96c {
  background: linear-gradient(135deg, #dcd96c, #a7dc6c);
}
Colored shadow
.shadow-dcd96c {
  box-shadow: 0 8px 24px rgb(220 217 108 / 0.35);
}

Straw
#dcd96c  rgb(220, 217, 108)  hsl(58, 62%, 64%)  Straw
#6c6fdc  rgb(108, 111, 220)  hsl(238, 62%, 64%)  Medium Slate Blue
#6cdcd9  rgb(108, 220, 217)  hsl(178, 62%, 64%)  Medium Turquoise
#d96cdc  rgb(217, 108, 220)  hsl(298, 62%, 64%)  Orchid