#AFB45F

#afb45f ≈ Dark Khaki

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

#afb45f 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.59% green and 37.25% blue; printed in CMYK it uses 2.78% cyan, 0% magenta, 47.22% yellow and 29.41% black. Its hue angle is 63.53°, with 36.17% saturation and 53.92% 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.52:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 3.64.

Description generated from the measured properties of this color.

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

Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #afb195 ≈ 0.001% of males
Protanopia #bfad58 ≈ 1.01% of males
Deuteranopia #c0b063 ≈ 1.27% of males
Tritanopia #b9aba0 ≈ 0.0001% of males
Protanomaly #b9b05b ≈ 1.08% of males
Deuteranomaly #b9b162 ≈ 4.63% of males
Tritanomaly #b5af8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afb45f {
  color: #afb45f;
}
Background
.bg-afb45f {
  background-color: #afb45f;
  color: #000000;
}
Border
.border-afb45f {
  border: 2px solid #afb45f;
}
CSS variables
:root {
  --color-primary: #afb45f;
  --color-primary-rgb: 175 180 95;
  --color-primary-hsl: 64 36% 54%;
}
Gradient
.gradient-afb45f {
  background: linear-gradient(135deg, #afb45f, #84b45f);
}
Colored shadow
.shadow-afb45f {
  box-shadow: 0 8px 24px rgb(175 180 95 / 0.35);
}

Dark Khaki
#afb45f  rgb(175, 180, 95)  hsl(64, 36%, 54%)  Dark Khaki
#645fb4  rgb(100, 95, 180)  hsl(244, 36%, 54%)  Slate Blue
#5fafb4  rgb(95, 175, 180)  hsl(184, 36%, 54%)  Cadet Blue
#b45faf  rgb(180, 95, 175)  hsl(304, 36%, 54%)  Medium Orchid