#DCDB8B

#dcdb8b ≈ Khaki

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

#dcdb8b 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.88% green and 54.51% blue; printed in CMYK it uses 0% cyan, 0.45% magenta, 36.82% yellow and 13.73% black. Its hue angle is 59.26°, with 53.64% saturation and 70.39% 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.55:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #dcdb8b 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.6774

Readable text 1.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d7d7d7 ≈ 0.003% of males
Achromatomaly #d9d8bd ≈ 0.001% of males
Protanopia #e7d585 ≈ 1.01% of males
Deuteranopia #e9d88e ≈ 1.27% of males
Tritanopia #e7d2c7 ≈ 0.0001% of males
Protanomaly #e3d787 ≈ 1.08% of males
Deuteranomaly #e4d98d ≈ 4.63% of males
Tritanomaly #e3d5b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#dcdb8b  rgb(220, 219, 139)  hsl(59, 54%, 70%)  Khaki
#8b8cdc  rgb(139, 140, 220)  hsl(239, 54%, 70%)  Medium Purple
#8bdcdb  rgb(139, 220, 219)  hsl(179, 54%, 70%)  Pale Turquoise
#db8bdc  rgb(219, 139, 220)  hsl(299, 54%, 70%)  Violet