#AFA366

#afa366 ≈ Ecru

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

#afa366 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 63.92% green and 40% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 41.71% yellow and 31.37% black. Its hue angle is 50.14°, with 31.33% saturation and 54.31% 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.25:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 5.6.

Description generated from the measured properties of this color.

Conversions of #afa366 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.3627

Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a2a2a2 ≈ 0.003% of males
Achromatomaly #a8a38e ≈ 0.001% of males
Protanopia #aea061 ≈ 1.01% of males
Deuteranopia #b1a468 ≈ 1.27% of males
Tritanopia #b99b94 ≈ 0.0001% of males
Protanomaly #aea163 ≈ 1.08% of males
Deuteranomaly #b1a467 ≈ 4.63% of males
Tritanomaly #b59e84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa366 {
  color: #afa366;
}
Background
.bg-afa366 {
  background-color: #afa366;
  color: #000000;
}
Border
.border-afa366 {
  border: 2px solid #afa366;
}
CSS variables
:root {
  --color-primary: #afa366;
  --color-primary-rgb: 175 163 102;
  --color-primary-hsl: 50 31% 54%;
}
Gradient
.gradient-afa366 {
  background: linear-gradient(135deg, #afa366, #96af66);
}
Colored shadow
.shadow-afa366 {
  box-shadow: 0 8px 24px rgb(175 163 102 / 0.35);
}

Ecru
#afa366  rgb(175, 163, 102)  hsl(50, 31%, 54%)  Ecru
#6672af  rgb(102, 114, 175)  hsl(230, 31%, 54%)  Glaucous
#66afa3  rgb(102, 175, 163)  hsl(170, 31%, 54%)  Verdigris
#a366af  rgb(163, 102, 175)  hsl(290, 31%, 54%)  Purple Mountain Majesty