#D4D786

#d4d786 ≈ Khaki

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

#d4d786 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 84.31% green and 52.55% blue; printed in CMYK it uses 1.4% cyan, 0% magenta, 37.67% yellow and 15.69% black. Its hue angle is 62.22°, with 50.31% saturation and 68.43% 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.86:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 5.47.

Description generated from the measured properties of this color.

Conversions of #d4d786 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.6432

Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #d3d4b8 ≈ 0.001% of males
Protanopia #e3d080 ≈ 1.01% of males
Deuteranopia #e4d38a ≈ 1.27% of males
Tritanopia #decec3 ≈ 0.0001% of males
Protanomaly #ddd382 ≈ 1.08% of males
Deuteranomaly #ddd588 ≈ 4.63% of males
Tritanomaly #dad2ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#d4d786  rgb(212, 215, 134)  hsl(62, 50%, 68%)  Khaki
#8986d7  rgb(137, 134, 215)  hsl(242, 50%, 68%)  Medium Purple
#86d4d7  rgb(134, 212, 215)  hsl(182, 50%, 68%)  Pale Turquoise
#d786d4  rgb(215, 134, 212)  hsl(302, 50%, 68%)  Violet