#AFA246

#afa246 ≈ Brass

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

#afa246 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.53% green and 27.45% blue; printed in CMYK it uses 0% cyan, 7.43% magenta, 60% yellow and 31.37% black. Its hue angle is 52.57°, with 42.86% saturation and 48.04% 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.08:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.75.

Description generated from the measured properties of this color.

Conversions of #afa246 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999933
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.354

Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a6a186 ≈ 0.001% of males
Protanopia #b09d3c ≈ 1.01% of males
Deuteranopia #b4a34b ≈ 1.27% of males
Tritanopia #bb988e ≈ 0.0001% of males
Protanomaly #af9f40 ≈ 1.08% of males
Deuteranomaly #b2a349 ≈ 4.63% of males
Tritanomaly #b79c78 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa246 {
  color: #afa246;
}
Background
.bg-afa246 {
  background-color: #afa246;
  color: #000000;
}
Border
.border-afa246 {
  border: 2px solid #afa246;
}
CSS variables
:root {
  --color-primary: #afa246;
  --color-primary-rgb: 175 162 70;
  --color-primary-hsl: 53 43% 48%;
}
Gradient
.gradient-afa246 {
  background: linear-gradient(135deg, #afa246, #88af46);
}
Colored shadow
.shadow-afa246 {
  box-shadow: 0 8px 24px rgb(175 162 70 / 0.35);
}

Brass
#afa246  rgb(175, 162, 70)  hsl(53, 43%, 48%)  Brass
#4653af  rgb(70, 83, 175)  hsl(233, 43%, 48%)  Sapphire
#46afa2  rgb(70, 175, 162)  hsl(173, 43%, 48%)  Light Sea Green
#a246af  rgb(162, 70, 175)  hsl(293, 43%, 48%)  Purpureus