#AFA204

#afa204 ≈ Brass

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#afa204 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 63.53% green and 1.57% blue; printed in CMYK it uses 0% cyan, 7.43% magenta, 97.71% yellow and 31.37% black. Its hue angle is 55.44°, with 95.53% saturation and 35.1% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 7.99:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.62.

Description generated from the measured properties of this color.

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

Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a6a17e ≈ 0.001% of males
Protanopia #b29c00 ≈ 1.01% of males
Deuteranopia #b6a21c ≈ 1.27% of males
Tritanopia #bd968a ≈ 0.0001% of males
Protanomaly #b19f00 ≈ 1.08% of males
Deuteranomaly #b3a215 ≈ 4.63% of males
Tritanomaly #b89b6d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa204 {
  color: #afa204;
}
Background
.bg-afa204 {
  background-color: #afa204;
  color: #000000;
}
Border
.border-afa204 {
  border: 2px solid #afa204;
}
CSS variables
:root {
  --color-primary: #afa204;
  --color-primary-rgb: 175 162 4;
  --color-primary-hsl: 55 96% 35%;
}
Gradient
.gradient-afa204 {
  background: linear-gradient(135deg, #afa204, #67af04);
}
Colored shadow
.shadow-afa204 {
  box-shadow: 0 8px 24px rgb(175 162 4 / 0.35);
}

Brass
#afa204  rgb(175, 162, 4)  hsl(55, 96%, 35%)  Brass
#0411af  rgb(4, 17, 175)  hsl(235, 96%, 35%)  Zaffre
#04afa2  rgb(4, 175, 162)  hsl(175, 96%, 35%)  Light Sea Green
#a204af  rgb(162, 4, 175)  hsl(295, 96%, 35%)  Dark Violet