#DCD78A

#dcd78a ≈ Khaki

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

#dcd78a 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.31% green and 54.12% blue; printed in CMYK it uses 0% cyan, 2.27% magenta, 37.27% yellow and 13.73% black. Its hue angle is 56.34°, with 53.95% saturation and 70.2% 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.13:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.28.

Description generated from the measured properties of this color.

Conversions of #dcd78a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.6565

Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #d7d5bb ≈ 0.001% of males
Protanopia #e4d284 ≈ 1.01% of males
Deuteranopia #e6d68d ≈ 1.27% of males
Tritanopia #e7cec4 ≈ 0.0001% of males
Protanomaly #e1d487 ≈ 1.08% of males
Deuteranomaly #e2d68c ≈ 4.63% of males
Tritanomaly #e3d1b0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd78a {
  color: #dcd78a;
}
Background
.bg-dcd78a {
  background-color: #dcd78a;
  color: #000000;
}
Border
.border-dcd78a {
  border: 2px solid #dcd78a;
}
CSS variables
:root {
  --color-primary: #dcd78a;
  --color-primary-rgb: 220 215 138;
  --color-primary-hsl: 56 54% 70%;
}
Gradient
.gradient-dcd78a {
  background: linear-gradient(135deg, #dcd78a, #b8dc8a);
}
Colored shadow
.shadow-dcd78a {
  box-shadow: 0 8px 24px rgb(220 215 138 / 0.35);
}

Khaki
#dcd78a  rgb(220, 215, 138)  hsl(56, 54%, 70%)  Khaki
#8a8fdc  rgb(138, 143, 220)  hsl(236, 54%, 70%)  Cornflower Blue
#8adcd7  rgb(138, 220, 215)  hsl(176, 54%, 70%)  Pale Turquoise
#d78adc  rgb(215, 138, 220)  hsl(296, 54%, 70%)  Violet