Recognised as Colour
#AFB229
- #AFB229
- Yellow
- Dark
- Nearest: Olive
#AFB229 is a yellow with RGB values 175, 178, 41 and HSL 61°, 63%, 43%. It is a dark colour, so black text on it reaches 9.2:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#AFB229#AFB229
HEX#AFB229
RGBrgb(175, 178, 41)
RGB (0–1)0.6863, 0.698, 0.1608
RGB percentages68.6%, 69.8%, 16.1%
HSLhsl(61.3, 62.6%, 42.9%)
HSV / HSBhsv(61.3, 77%, 69.8%)
CMYK1.7%, 0%, 77%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,514,409
CSS custom property--colour: #AFB229;
Brightness & contrast
Relative luminance0.41115WCAG 2.x, 0 is black and 1 is white
Perceived brightness167.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.22:1
Contrast with white2.28:1WCAG normal text: Fail
Contrast with black9.22:1WCAG normal text: AAA
Greyscale equivalent#A7A7A7
Inverted#504DD6
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.28:1WCAG large text: Fail
Contrast with black, large text9.22:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2C29B2
Analogous#B27129, #6AB229
Triadic#29AFB2, #B229AF
Split complementary#296AB2, #7129B2
Tetradic#29B271, #2C29B2, #B2296A
Tints, shades & saturation
Channel breakdown
R175
G178
B41
Red175 (68.6%)
Green178 (69.8%)
Blue41 (16.1%)
Hue61.31°
Saturation (HSL)62.56%
Lightness42.94%
Dominant channelGreen
Hex per channelR AF · G B2 · B 29
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page