#AFB548

#afb548 ≈ Dark Khaki

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

#afb548 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 70.98% green and 28.24% blue; printed in CMYK it uses 3.31% cyan, 0% magenta, 60.22% yellow and 29.02% black. Its hue angle is 63.3°, with 43.08% saturation and 49.61% 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 9.53:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.75.

Description generated from the measured properties of this color.

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

Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #afafaf ≈ 0.003% of males
Achromatomaly #afb191 ≈ 0.001% of males
Protanopia #c2ad3b ≈ 1.01% of males
Deuteranopia #c2b04f ≈ 1.27% of males
Tritanopia #baab9e ≈ 0.0001% of males
Protanomaly #bbb041 ≈ 1.08% of males
Deuteranomaly #bbb24c ≈ 4.63% of males
Tritanomaly #b6af84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afb548 {
  color: #afb548;
}
Background
.bg-afb548 {
  background-color: #afb548;
  color: #000000;
}
Border
.border-afb548 {
  border: 2px solid #afb548;
}
CSS variables
:root {
  --color-primary: #afb548;
  --color-primary-rgb: 175 181 72;
  --color-primary-hsl: 63 43% 50%;
}
Gradient
.gradient-afb548 {
  background: linear-gradient(135deg, #afb548, #79b548);
}
Colored shadow
.shadow-afb548 {
  box-shadow: 0 8px 24px rgb(175 181 72 / 0.35);
}

Dark Khaki
#afb548  rgb(175, 181, 72)  hsl(63, 43%, 50%)  Dark Khaki
#4e48b5  rgb(78, 72, 181)  hsl(243, 43%, 50%)  Ocean Blue
#48afb5  rgb(72, 175, 181)  hsl(183, 43%, 50%)  Verdigris
#b548af  rgb(181, 72, 175)  hsl(303, 43%, 50%)  Purpureus