#AFA95C

#afa95c ≈ Dark Khaki

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#afa95c is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 66.27% green and 36.08% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 47.43% yellow and 31.37% black. Its hue angle is 55.66°, with 34.16% saturation and 52.35% 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 8.65:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 3.98.

Description generated from the measured properties of this color.

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

Readable text 2.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a6a6a6 ≈ 0.003% of males
Achromatomaly #aaa78e ≈ 0.001% of males
Protanopia #b5a455 ≈ 1.01% of males
Deuteranopia #b7a85f ≈ 1.27% of males
Tritanopia #baa097 ≈ 0.0001% of males
Protanomaly #b3a658 ≈ 1.08% of males
Deuteranomaly #b4a85e ≈ 4.63% of males
Tritanomaly #b5a483 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa95c {
  color: #afa95c;
}
Background
.bg-afa95c {
  background-color: #afa95c;
  color: #000000;
}
Border
.border-afa95c {
  border: 2px solid #afa95c;
}
CSS variables
:root {
  --color-primary: #afa95c;
  --color-primary-rgb: 175 169 92;
  --color-primary-hsl: 56 34% 52%;
}
Gradient
.gradient-afa95c {
  background: linear-gradient(135deg, #afa95c, #8baf5c);
}
Colored shadow
.shadow-afa95c {
  box-shadow: 0 8px 24px rgb(175 169 92 / 0.35);
}

Dark Khaki
#afa95c  rgb(175, 169, 92)  hsl(56, 34%, 52%)  Dark Khaki
#5c62af  rgb(92, 98, 175)  hsl(236, 34%, 52%)  Slate Blue
#5cafa9  rgb(92, 175, 169)  hsl(176, 34%, 52%)  Verdigris
#a95caf  rgb(169, 92, 175)  hsl(296, 34%, 52%)  Purpureus