#D7D786

#d7d786 ≈ Khaki

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

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

Description generated from the measured properties of this color.

Conversions of #d7d786 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.6477

Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #d4d4b9 ≈ 0.001% of males
Protanopia #e3d180 ≈ 1.01% of males
Deuteranopia #e5d489 ≈ 1.27% of males
Tritanopia #e2cec3 ≈ 0.0001% of males
Protanomaly #ded382 ≈ 1.08% of males
Deuteranomaly #dfd588 ≈ 4.63% of males
Tritanomaly #ded1ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Khaki
#d7d786  rgb(215, 215, 134)  hsl(60, 50%, 68%)  Khaki
#8686d7  rgb(134, 134, 215)  hsl(240, 50%, 68%)  Medium Purple
#86d7d7  rgb(134, 215, 215)  hsl(180, 50%, 68%)  Medium Turquoise
#d786d7  rgb(215, 134, 215)  hsl(300, 50%, 68%)  Violet