#AFA276

#afa276 ≈ Ecru

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

#afa276 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 68.63% red, 63.53% green and 46.27% blue; printed in CMYK it uses 0% cyan, 7.43% magenta, 32.57% yellow and 31.37% black. Its hue angle is 46.32°, with 26.27% saturation and 57.45% 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 4.94.

Description generated from the measured properties of this color.

Conversions of #afa276 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.3626

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 #a8a293 ≈ 0.001% of males
Protanopia #aba073 ≈ 1.01% of males
Deuteranopia #afa477 ≈ 1.27% of males
Tritanopia #b89b96 ≈ 0.0001% of males
Protanomaly #ada174 ≈ 1.08% of males
Deuteranomaly #afa377 ≈ 4.63% of males
Tritanomaly #b49e8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa276 {
  color: #afa276;
}
Background
.bg-afa276 {
  background-color: #afa276;
  color: #000000;
}
Border
.border-afa276 {
  border: 2px solid #afa276;
}
CSS variables
:root {
  --color-primary: #afa276;
  --color-primary-rgb: 175 162 118;
  --color-primary-hsl: 46 26% 57%;
}
Gradient
.gradient-afa276 {
  background: linear-gradient(135deg, #afa276, #9faf76);
}
Colored shadow
.shadow-afa276 {
  box-shadow: 0 8px 24px rgb(175 162 118 / 0.35);
}

Ecru
#afa276  rgb(175, 162, 118)  hsl(46, 26%, 57%)  Ecru
#7683af  rgb(118, 131, 175)  hsl(226, 26%, 57%)  Glaucous
#76afa2  rgb(118, 175, 162)  hsl(166, 26%, 57%)  Verdigris
#a276af  rgb(162, 118, 175)  hsl(286, 26%, 57%)  Purple Mountain Majesty