#AFB42B

Material lime 700

#AFB42B is a yellow colour. In RGB it is 175 red, 180 green and 43 blue, which converts to a hue of 62 degrees, 61% saturation and 44% lightness. It is Material lime 700 in that design system's palette.

Color values

HEX#AFB42B
RGBrgb(175, 180, 43)
HSLhsl(62, 61%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(3%, 0%, 76%, 29%)

Contrast and accessibility

Against white the contrast ratio is 2.24:1, and against black it is 9.39:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White2.24:1FailFail
Black9.39:1AAAAAA

Tints and shades

Lighter tints move #AFB42B toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #AFB42B;
CSS rgb()color: rgb(175 180 43);
Tailwindbg-[#afb42b]
SwiftUIColor(red: 0.686, green: 0.706, blue: 0.169)
AndroidColor.parseColor("#AFB42B")

Closest named color

The nearest CSS colour keyword to #AFB42B is yellowgreen (#9ACD32).

Related tools