#AFAF56

#afaf56 ≈ Dark Khaki

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

#afaf56 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 68.63% green and 33.73% blue; printed in CMYK it uses 0% cyan, 0% magenta, 50.86% yellow and 31.37% black. Its hue angle is 60°, with 35.74% saturation and 51.18% 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 9.09:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 3.79.

Description generated from the measured properties of this color.

Conversions of #afaf56 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.4045

Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #acac90 ≈ 0.001% of males
Protanopia #bba94e ≈ 1.01% of males
Deuteranopia #bcac5b ≈ 1.27% of males
Tritanopia #baa69b ≈ 0.0001% of males
Protanomaly #b6ab51 ≈ 1.08% of males
Deuteranomaly #b7ad59 ≈ 4.63% of males
Tritanomaly #b5a985 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afaf56 {
  color: #afaf56;
}
Background
.bg-afaf56 {
  background-color: #afaf56;
  color: #000000;
}
Border
.border-afaf56 {
  border: 2px solid #afaf56;
}
CSS variables
:root {
  --color-primary: #afaf56;
  --color-primary-rgb: 175 175 86;
  --color-primary-hsl: 60 36% 51%;
}
Gradient
.gradient-afaf56 {
  background: linear-gradient(135deg, #afaf56, #83af56);
}
Colored shadow
.shadow-afaf56 {
  box-shadow: 0 8px 24px rgb(175 175 86 / 0.35);
}

Dark Khaki
#afaf56  rgb(175, 175, 86)  hsl(60, 36%, 51%)  Dark Khaki
#5656af  rgb(86, 86, 175)  hsl(240, 36%, 51%)  Iris
#56afaf  rgb(86, 175, 175)  hsl(180, 36%, 51%)  Verdigris
#af56af  rgb(175, 86, 175)  hsl(300, 36%, 51%)  Purpureus