#DFD878

#dfd878 ≈ Straw

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

#dfd878 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 84.71% green and 47.06% blue; printed in CMYK it uses 0% cyan, 3.14% magenta, 46.19% yellow and 12.55% black. Its hue angle is 55.92°, with 61.68% saturation and 67.25% 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.23:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 1.85.

Description generated from the measured properties of this color.

Conversions of #dfd878 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.6616

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

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #d9d6b7 ≈ 0.001% of males
Protanopia #e7d270 ≈ 1.01% of males
Deuteranopia #ead77c ≈ 1.27% of males
Tritanopia #eccdc1 ≈ 0.0001% of males
Protanomaly #e4d473 ≈ 1.08% of males
Deuteranomaly #e5d77b ≈ 4.63% of males
Tritanomaly #e7d1a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd878 {
  color: #dfd878;
}
Background
.bg-dfd878 {
  background-color: #dfd878;
  color: #000000;
}
Border
.border-dfd878 {
  border: 2px solid #dfd878;
}
CSS variables
:root {
  --color-primary: #dfd878;
  --color-primary-rgb: 223 216 120;
  --color-primary-hsl: 56 62% 67%;
}
Gradient
.gradient-dfd878 {
  background: linear-gradient(135deg, #dfd878, #b2df78);
}
Colored shadow
.shadow-dfd878 {
  box-shadow: 0 8px 24px rgb(223 216 120 / 0.35);
}

Straw
#dfd878  rgb(223, 216, 120)  hsl(56, 62%, 67%)  Straw
#787fdf  rgb(120, 127, 223)  hsl(236, 62%, 67%)  Glaucous
#78dfd8  rgb(120, 223, 216)  hsl(176, 62%, 67%)  Medium Turquoise
#d878df  rgb(216, 120, 223)  hsl(296, 62%, 67%)  Orchid