#D2C77D

#d2c77d ≈ Dark Khaki

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

#d2c77d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 78.04% green and 49.02% blue; printed in CMYK it uses 0% cyan, 5.24% magenta, 40.48% yellow and 17.65% black. Its hue angle is 52.24°, with 48.57% 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.21:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.7.

Description generated from the measured properties of this color.

Conversions of #d2c77d 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.5603

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #cbc6ad ≈ 0.001% of males
Protanopia #d4c377 ≈ 1.01% of males
Deuteranopia #d7c780 ≈ 1.27% of males
Tritanopia #debdb5 ≈ 0.0001% of males
Protanomaly #d3c47a ≈ 1.08% of males
Deuteranomaly #d5c77f ≈ 4.63% of males
Tritanomaly #d9c1a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c77d {
  color: #d2c77d;
}
Background
.bg-d2c77d {
  background-color: #d2c77d;
  color: #000000;
}
Border
.border-d2c77d {
  border: 2px solid #d2c77d;
}
CSS variables
:root {
  --color-primary: #d2c77d;
  --color-primary-rgb: 210 199 125;
  --color-primary-hsl: 52 49% 66%;
}
Gradient
.gradient-d2c77d {
  background: linear-gradient(135deg, #d2c77d, #b3d27d);
}
Colored shadow
.shadow-d2c77d {
  box-shadow: 0 8px 24px rgb(210 199 125 / 0.35);
}

Dark Khaki
#d2c77d  rgb(210, 199, 125)  hsl(52, 49%, 66%)  Dark Khaki
#7d88d2  rgb(125, 136, 210)  hsl(232, 49%, 66%)  Glaucous
#7dd2c7  rgb(125, 210, 199)  hsl(172, 49%, 66%)  Medium Turquoise
#c77dd2  rgb(199, 125, 210)  hsl(292, 49%, 66%)  Orchid