#DCD88C

#dcd88c ≈ Khaki

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

#dcd88c 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.71% green and 54.9% blue; printed in CMYK it uses 0% cyan, 1.82% magenta, 36.36% yellow and 13.73% black. Its hue angle is 57°, with 53.33% 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.24:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #dcd88c 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.6622

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

Achromatopsia #d5d5d5 ≈ 0.003% of males
Achromatomaly #d8d6bc ≈ 0.001% of males
Protanopia #e4d286 ≈ 1.01% of males
Deuteranopia #e6d68f ≈ 1.27% of males
Tritanopia #e7cfc5 ≈ 0.0001% of males
Protanomaly #e1d589 ≈ 1.08% of males
Deuteranomaly #e2d78e ≈ 4.63% of males
Tritanomaly #e3d2b1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd88c {
  color: #dcd88c;
}
Background
.bg-dcd88c {
  background-color: #dcd88c;
  color: #000000;
}
Border
.border-dcd88c {
  border: 2px solid #dcd88c;
}
CSS variables
:root {
  --color-primary: #dcd88c;
  --color-primary-rgb: 220 216 140;
  --color-primary-hsl: 57 53% 71%;
}
Gradient
.gradient-dcd88c {
  background: linear-gradient(135deg, #dcd88c, #b8dc8c);
}
Colored shadow
.shadow-dcd88c {
  box-shadow: 0 8px 24px rgb(220 216 140 / 0.35);
}

Khaki
#dcd88c  rgb(220, 216, 140)  hsl(57, 53%, 71%)  Khaki
#8c90dc  rgb(140, 144, 220)  hsl(237, 53%, 71%)  Cornflower Blue
#8cdcd8  rgb(140, 220, 216)  hsl(177, 53%, 71%)  Pale Turquoise
#d88cdc  rgb(216, 140, 220)  hsl(297, 53%, 71%)  Violet