#AFA674

#afa674 ≈ Ecru

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

#afa674 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 68.63% red, 65.1% green and 45.49% blue; printed in CMYK it uses 0% cyan, 5.14% magenta, 33.71% yellow and 31.37% black. Its hue angle is 50.85°, with 26.94% saturation and 57.06% 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.53:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.55.

Description generated from the measured properties of this color.

Conversions of #afa674 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.3765

Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #a9a594 ≈ 0.001% of males
Protanopia #afa371 ≈ 1.01% of males
Deuteranopia #b2a776 ≈ 1.27% of males
Tritanopia #b89f99 ≈ 0.0001% of males
Protanomaly #afa472 ≈ 1.08% of males
Deuteranomaly #b1a675 ≈ 4.63% of males
Tritanomaly #b4a28c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa674 {
  color: #afa674;
}
Background
.bg-afa674 {
  background-color: #afa674;
  color: #000000;
}
Border
.border-afa674 {
  border: 2px solid #afa674;
}
CSS variables
:root {
  --color-primary: #afa674;
  --color-primary-rgb: 175 166 116;
  --color-primary-hsl: 51 27% 57%;
}
Gradient
.gradient-afa674 {
  background: linear-gradient(135deg, #afa674, #9baf74);
}
Colored shadow
.shadow-afa674 {
  box-shadow: 0 8px 24px rgb(175 166 116 / 0.35);
}

Ecru
#afa674  rgb(175, 166, 116)  hsl(51, 27%, 57%)  Ecru
#747daf  rgb(116, 125, 175)  hsl(231, 27%, 57%)  Glaucous
#74afa6  rgb(116, 175, 166)  hsl(171, 27%, 57%)  Verdigris
#a674af  rgb(166, 116, 175)  hsl(291, 27%, 57%)  Purple Mountain Majesty