#DEDC8B

#dedc8b ≈ Khaki

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

#dedc8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.06% red, 86.27% green and 54.51% blue; printed in CMYK it uses 0% cyan, 0.9% magenta, 37.39% yellow and 12.94% black. Its hue angle is 58.55°, with 55.7% saturation and 70.78% 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.72:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.63.

Description generated from the measured properties of this color.

Conversions of #dedc8b 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.6858

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

Achromatopsia #d8d8d8 ≈ 0.003% of males
Achromatomaly #dadabe ≈ 0.001% of males
Protanopia #e9d685 ≈ 1.01% of males
Deuteranopia #eada8e ≈ 1.27% of males
Tritanopia #e9d2c8 ≈ 0.0001% of males
Protanomaly #e4d887 ≈ 1.08% of males
Deuteranomaly #e6db8d ≈ 4.63% of males
Tritanomaly #e5d6b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#dedc8b  rgb(222, 220, 139)  hsl(59, 56%, 71%)  Khaki
#8b8dde  rgb(139, 141, 222)  hsl(239, 56%, 71%)  Medium Purple
#8bdedc  rgb(139, 222, 220)  hsl(179, 56%, 71%)  Pale Turquoise
#dc8bde  rgb(220, 139, 222)  hsl(299, 56%, 71%)  Violet