#AFA07A

#afa07a ≈ Ecru

  • yellow
  • Lightness: medium
  • Saturation: muted
  • Warm

#afa07a is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 68.63% red, 62.75% green and 47.84% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 30.29% yellow and 31.37% black. Its hue angle is 43.02°, with 24.88% saturation and 58.24% 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.13:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 5.89.

Description generated from the measured properties of this color.

Conversions of #afa07a 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.3566

Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a7a193 ≈ 0.001% of males
Protanopia #a99f78 ≈ 1.01% of males
Deuteranopia #ada37b ≈ 1.27% of males
Tritanopia #b89a96 ≈ 0.0001% of males
Protanomaly #ab9f79 ≈ 1.08% of males
Deuteranomaly #aea27b ≈ 4.63% of males
Tritanomaly #b49c8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa07a {
  color: #afa07a;
}
Background
.bg-afa07a {
  background-color: #afa07a;
  color: #000000;
}
Border
.border-afa07a {
  border: 2px solid #afa07a;
}
CSS variables
:root {
  --color-primary: #afa07a;
  --color-primary-rgb: 175 160 122;
  --color-primary-hsl: 43 25% 58%;
}
Gradient
.gradient-afa07a {
  background: linear-gradient(135deg, #afa07a, #a4af7a);
}
Colored shadow
.shadow-afa07a {
  box-shadow: 0 8px 24px rgb(175 160 122 / 0.35);
}

Ecru
#afa07a  rgb(175, 160, 122)  hsl(43, 25%, 58%)  Ecru
#7a89af  rgb(122, 137, 175)  hsl(223, 25%, 58%)  Cool Gray
#7aafa0  rgb(122, 175, 160)  hsl(163, 25%, 58%)  Verdigris
#a07aaf  rgb(160, 122, 175)  hsl(283, 25%, 58%)  Purple Mountain Majesty