#D0C87F

#d0c87f ≈ Dark Khaki

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

#d0c87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.57% red, 78.43% green and 49.8% blue; printed in CMYK it uses 0% cyan, 3.85% magenta, 38.94% yellow and 18.43% black. Its hue angle is 54.07°, with 46.29% saturation and 65.69% 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 12.25:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.65.

Description generated from the measured properties of this color.

Conversions of #d0c87f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5625

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cac7ae ≈ 0.001% of males
Protanopia #d4c37a ≈ 1.01% of males
Deuteranopia #d7c882 ≈ 1.27% of males
Tritanopia #dbbfb6 ≈ 0.0001% of males
Protanomaly #d3c57c ≈ 1.08% of males
Deuteranomaly #d4c881 ≈ 4.63% of males
Tritanomaly #d7c3a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d0c87f {
  color: #d0c87f;
}
Background
.bg-d0c87f {
  background-color: #d0c87f;
  color: #000000;
}
Border
.border-d0c87f {
  border: 2px solid #d0c87f;
}
CSS variables
:root {
  --color-primary: #d0c87f;
  --color-primary-rgb: 208 200 127;
  --color-primary-hsl: 54 46% 66%;
}
Gradient
.gradient-d0c87f {
  background: linear-gradient(135deg, #d0c87f, #b0d07f);
}
Colored shadow
.shadow-d0c87f {
  box-shadow: 0 8px 24px rgb(208 200 127 / 0.35);
}

Dark Khaki
#d0c87f  rgb(208, 200, 127)  hsl(54, 46%, 66%)  Dark Khaki
#7f87d0  rgb(127, 135, 208)  hsl(234, 46%, 66%)  Glaucous
#7fd0c8  rgb(127, 208, 200)  hsl(174, 46%, 66%)  Medium Turquoise
#c87fd0  rgb(200, 127, 208)  hsl(294, 46%, 66%)  Orchid