#AFA75D

#afa75d ≈ Dark Khaki

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

#afa75d is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 65.49% green and 36.47% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 46.86% yellow and 31.37% black. Its hue angle is 54.15°, with 33.88% saturation and 52.55% 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.51:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.45.

Description generated from the measured properties of this color.

Conversions of #afa75d 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.3754

Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #a9a68e ≈ 0.001% of males
Protanopia #b3a357 ≈ 1.01% of males
Deuteranopia #b6a760 ≈ 1.27% of males
Tritanopia #ba9e95 ≈ 0.0001% of males
Protanomaly #b1a459 ≈ 1.08% of males
Deuteranomaly #b3a75f ≈ 4.63% of males
Tritanomaly #b5a283 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa75d {
  color: #afa75d;
}
Background
.bg-afa75d {
  background-color: #afa75d;
  color: #000000;
}
Border
.border-afa75d {
  border: 2px solid #afa75d;
}
CSS variables
:root {
  --color-primary: #afa75d;
  --color-primary-rgb: 175 167 93;
  --color-primary-hsl: 54 34% 53%;
}
Gradient
.gradient-afa75d {
  background: linear-gradient(135deg, #afa75d, #8eaf5d);
}
Colored shadow
.shadow-afa75d {
  box-shadow: 0 8px 24px rgb(175 167 93 / 0.35);
}

Dark Khaki
#afa75d  rgb(175, 167, 93)  hsl(54, 34%, 53%)  Dark Khaki
#5d65af  rgb(93, 101, 175)  hsl(234, 34%, 53%)  Slate Blue
#5dafa7  rgb(93, 175, 167)  hsl(174, 34%, 53%)  Verdigris
#a75daf  rgb(167, 93, 175)  hsl(294, 34%, 53%)  Purpureus