#D8DE8A

#d8de8a ≈ Khaki

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

#d8de8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.71% red, 87.06% green and 54.12% blue; printed in CMYK it uses 2.7% cyan, 0% magenta, 37.84% yellow and 12.94% black. Its hue angle is 64.29°, with 56% saturation and 70.59% 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.74:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #d8de8a 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.6868

Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d8d8d8 ≈ 0.003% of males
Achromatomaly #d8dabe ≈ 0.001% of males
Protanopia #ead784 ≈ 1.01% of males
Deuteranopia #ead98e ≈ 1.27% of males
Tritanopia #e2d5c9 ≈ 0.0001% of males
Protanomaly #e3da86 ≈ 1.08% of males
Deuteranomaly #e3db8c ≈ 4.63% of males
Tritanomaly #ded9b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8de8a {
  color: #d8de8a;
}
Background
.bg-d8de8a {
  background-color: #d8de8a;
  color: #000000;
}
Border
.border-d8de8a {
  border: 2px solid #d8de8a;
}
CSS variables
:root {
  --color-primary: #d8de8a;
  --color-primary-rgb: 216 222 138;
  --color-primary-hsl: 64 56% 71%;
}
Gradient
.gradient-d8de8a {
  background: linear-gradient(135deg, #d8de8a, #aede8a);
}
Colored shadow
.shadow-d8de8a {
  box-shadow: 0 8px 24px rgb(216 222 138 / 0.35);
}

Khaki
#d8de8a  rgb(216, 222, 138)  hsl(64, 56%, 71%)  Khaki
#908ade  rgb(144, 138, 222)  hsl(244, 56%, 71%)  Medium Purple
#8ad8de  rgb(138, 216, 222)  hsl(184, 56%, 71%)  Powder Blue
#de8ad8  rgb(222, 138, 216)  hsl(304, 56%, 71%)  Violet