#D1CA7F

#d1ca7f ≈ Dark Khaki

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

#d1ca7f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.96% red, 79.22% green and 49.8% blue; printed in CMYK it uses 0% cyan, 3.35% magenta, 39.23% yellow and 18.04% black. Its hue angle is 54.88°, with 47.13% saturation and 65.88% 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.47:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.01.

Description generated from the measured properties of this color.

Conversions of #d1ca7f 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.5733

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cbc8af ≈ 0.001% of males
Protanopia #d6c579 ≈ 1.01% of males
Deuteranopia #d9c982 ≈ 1.27% of males
Tritanopia #dcc1b7 ≈ 0.0001% of males
Protanomaly #d4c77c ≈ 1.08% of males
Deuteranomaly #d6ca81 ≈ 4.63% of males
Tritanomaly #d8c4a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d1ca7f {
  color: #d1ca7f;
}
Background
.bg-d1ca7f {
  background-color: #d1ca7f;
  color: #000000;
}
Border
.border-d1ca7f {
  border: 2px solid #d1ca7f;
}
CSS variables
:root {
  --color-primary: #d1ca7f;
  --color-primary-rgb: 209 202 127;
  --color-primary-hsl: 55 47% 66%;
}
Gradient
.gradient-d1ca7f {
  background: linear-gradient(135deg, #d1ca7f, #afd17f);
}
Colored shadow
.shadow-d1ca7f {
  box-shadow: 0 8px 24px rgb(209 202 127 / 0.35);
}

Dark Khaki
#d1ca7f  rgb(209, 202, 127)  hsl(55, 47%, 66%)  Dark Khaki
#7f86d1  rgb(127, 134, 209)  hsl(235, 47%, 66%)  Glaucous
#7fd1ca  rgb(127, 209, 202)  hsl(175, 47%, 66%)  Medium Turquoise
#ca7fd1  rgb(202, 127, 209)  hsl(295, 47%, 66%)  Orchid