#DCD879

#dcd879 ≈ Straw

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

#dcd879 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 84.71% green and 47.45% blue; printed in CMYK it uses 0% cyan, 1.82% magenta, 45% yellow and 13.73% black. Its hue angle is 57.58°, with 58.58% saturation and 66.86% 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.14:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.56.

Description generated from the measured properties of this color.

Conversions of #dcd879 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.6571

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

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #d7d6b7 ≈ 0.001% of males
Protanopia #e6d171 ≈ 1.01% of males
Deuteranopia #e8d67d ≈ 1.27% of males
Tritanopia #e9cdc1 ≈ 0.0001% of males
Protanomaly #e2d474 ≈ 1.08% of males
Deuteranomaly #e4d77c ≈ 4.63% of males
Tritanomaly #e4d2a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd879 {
  color: #dcd879;
}
Background
.bg-dcd879 {
  background-color: #dcd879;
  color: #000000;
}
Border
.border-dcd879 {
  border: 2px solid #dcd879;
}
CSS variables
:root {
  --color-primary: #dcd879;
  --color-primary-rgb: 220 216 121;
  --color-primary-hsl: 58 59% 67%;
}
Gradient
.gradient-dcd879 {
  background: linear-gradient(135deg, #dcd879, #aedc79);
}
Colored shadow
.shadow-dcd879 {
  box-shadow: 0 8px 24px rgb(220 216 121 / 0.35);
}

Straw
#dcd879  rgb(220, 216, 121)  hsl(58, 59%, 67%)  Straw
#797ddc  rgb(121, 125, 220)  hsl(238, 59%, 67%)  Medium Slate Blue
#79dcd8  rgb(121, 220, 216)  hsl(178, 59%, 67%)  Medium Turquoise
#d879dc  rgb(216, 121, 220)  hsl(298, 59%, 67%)  Orchid