#D4D587

#d4d587 ≈ Khaki

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

#d4d587 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 83.53% green and 52.94% blue; printed in CMYK it uses 0.47% cyan, 0% magenta, 36.62% yellow and 16.47% black. Its hue angle is 60.77°, with 48.15% saturation and 68.24% 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 13.67:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 5.57.

Description generated from the measured properties of this color.

Conversions of #d4d587 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.6333

Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d2d2b8 ≈ 0.001% of males
Protanopia #e1cf81 ≈ 1.01% of males
Deuteranopia #e2d28a ≈ 1.27% of males
Tritanopia #deccc2 ≈ 0.0001% of males
Protanomaly #dcd184 ≈ 1.08% of males
Deuteranomaly #dcd389 ≈ 4.63% of males
Tritanomaly #dad0ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4d587 {
  color: #d4d587;
}
Background
.bg-d4d587 {
  background-color: #d4d587;
  color: #000000;
}
Border
.border-d4d587 {
  border: 2px solid #d4d587;
}
CSS variables
:root {
  --color-primary: #d4d587;
  --color-primary-rgb: 212 213 135;
  --color-primary-hsl: 61 48% 68%;
}
Gradient
.gradient-d4d587 {
  background: linear-gradient(135deg, #d4d587, #add587);
}
Colored shadow
.shadow-d4d587 {
  box-shadow: 0 8px 24px rgb(212 213 135 / 0.35);
}

Khaki
#d4d587  rgb(212, 213, 135)  hsl(61, 48%, 68%)  Khaki
#8887d5  rgb(136, 135, 213)  hsl(241, 48%, 68%)  Medium Purple
#87d4d5  rgb(135, 212, 213)  hsl(181, 48%, 68%)  Medium Turquoise
#d587d4  rgb(213, 135, 212)  hsl(301, 48%, 68%)  Violet