#D5DB8A

#d5db8a ≈ Khaki

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

#d5db8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.53% red, 85.88% green and 54.12% blue; printed in CMYK it uses 2.74% cyan, 0% magenta, 36.99% yellow and 14.12% black. Its hue angle is 64.44°, with 52.94% saturation and 70% 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.33:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 5.55.

Description generated from the measured properties of this color.

Conversions of #d5db8a 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.6664

Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #d5d8bc ≈ 0.001% of males
Protanopia #e6d484 ≈ 1.01% of males
Deuteranopia #e7d68e ≈ 1.27% of males
Tritanopia #dfd2c7 ≈ 0.0001% of males
Protanomaly #e0d786 ≈ 1.08% of males
Deuteranomaly #e0d88c ≈ 4.63% of males
Tritanomaly #dbd6b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5db8a {
  color: #d5db8a;
}
Background
.bg-d5db8a {
  background-color: #d5db8a;
  color: #000000;
}
Border
.border-d5db8a {
  border: 2px solid #d5db8a;
}
CSS variables
:root {
  --color-primary: #d5db8a;
  --color-primary-rgb: 213 219 138;
  --color-primary-hsl: 64 53% 70%;
}
Gradient
.gradient-d5db8a {
  background: linear-gradient(135deg, #d5db8a, #addb8a);
}
Colored shadow
.shadow-d5db8a {
  box-shadow: 0 8px 24px rgb(213 219 138 / 0.35);
}

Khaki
#d5db8a  rgb(213, 219, 138)  hsl(64, 53%, 70%)  Khaki
#908adb  rgb(144, 138, 219)  hsl(244, 53%, 70%)  Medium Purple
#8ad5db  rgb(138, 213, 219)  hsl(184, 53%, 70%)  Powder Blue
#db8ad5  rgb(219, 138, 213)  hsl(304, 53%, 70%)  Violet