#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 |
|---|---|
| RGB | rgb(175, 180, 43) |
| HSL | hsl(62, 61%, 44%) |
| HSV | hsv(62, 76%, 71%) |
| CMYK | cmyk(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.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 2.24:1 | Fail | Fail |
| Black | 9.39:1 | AAA | AAA |
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
| CSS | color: #AFB42B; |
|---|---|
| CSS rgb() | color: rgb(175 180 43); |
| Tailwind | bg-[#afb42b] |
| SwiftUI | Color(red: 0.686, green: 0.706, blue: 0.169) |
| Android | Color.parseColor("#AFB42B") |
Closest named color
The nearest CSS colour keyword to #AFB42B is yellowgreen (#9ACD32).