Recognised as Colour
#AFB256
- #AFB256
- Yellow
- Dark
- Nearest: Dark khaki
#AFB256 is a yellow with RGB values 175, 178, 86 and HSL 62°, 37%, 52%. It is a dark colour, so black text on it reaches 9.3:1 contrast (AAA for normal text). The nearest named colour is Dark khaki.
Colour values
#AFB256#AFB256
HEX#AFB256
RGBrgb(175, 178, 86)
RGB (0–1)0.6863, 0.698, 0.3373
RGB percentages68.6%, 69.8%, 33.7%
HSLhsl(62, 37.4%, 51.8%)
HSV / HSBhsv(62, 51.7%, 69.8%)
CMYK1.7%, 0%, 51.7%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,514,454
CSS custom property--colour: #AFB256;
Brightness & contrast
Relative luminance0.41627WCAG 2.x, 0 is black and 1 is white
Perceived brightness169.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.33:1
Contrast with white2.25:1WCAG normal text: Fail
Contrast with black9.33:1WCAG normal text: AAA
Greyscale equivalent#ABABAB
Inverted#504DA9
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.25:1WCAG large text: Fail
Contrast with black, large text9.33:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5956B2
Analogous#B28756, #81B256
Triadic#56AFB2, #B256AF
Split complementary#5681B2, #8756B2
Tetradic#56B287, #5956B2, #B25681
Tints, shades & saturation
Channel breakdown
R175
G178
B86
Red175 (68.6%)
Green178 (69.8%)
Blue86 (33.7%)
Hue61.96°
Saturation (HSL)37.4%
Lightness51.76%
Dominant channelGreen
Hex per channelR AF · G B2 · B 56
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