#AFA76B

#afa76b ≈ Dark Khaki

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

#afa76b 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 41.96% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 38.86% yellow and 31.37% black. Its hue angle is 52.94°, with 29.82% saturation and 55.29% 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.56:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.18.

Description generated from the measured properties of this color.

Conversions of #afa76b 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.3781

Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #a9a692 ≈ 0.001% of males
Protanopia #b1a367 ≈ 1.01% of males
Deuteranopia #b4a76d ≈ 1.27% of males
Tritanopia #b99f98 ≈ 0.0001% of males
Protanomaly #b0a568 ≈ 1.08% of males
Deuteranomaly #b2a76c ≈ 4.63% of males
Tritanomaly #b5a288 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#afa76b  rgb(175, 167, 107)  hsl(53, 30%, 55%)  Dark Khaki
#6b73af  rgb(107, 115, 175)  hsl(233, 30%, 55%)  Glaucous
#6bafa7  rgb(107, 175, 167)  hsl(173, 30%, 55%)  Verdigris
#a76baf  rgb(167, 107, 175)  hsl(293, 30%, 55%)  Purple Mountain Majesty