Colour
#B2B218
- #B2B218
- Yellow
- Dark
- Nearest: Olive
#B2B218 is a yellow with RGB values 178, 178, 24 and HSL 60°, 76%, 40%. It is a dark colour, so black text on it reaches 9.3:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#B2B218#B2B218
HEX#B2B218
RGBrgb(178, 178, 24)
RGB (0–1)0.698, 0.698, 0.0941
RGB percentages69.8%, 69.8%, 9.4%
HSLhsl(60, 76.2%, 39.6%)
HSV / HSBhsv(60, 86.5%, 69.8%)
CMYK0%, 0%, 86.5%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,711,000
CSS custom property--colour: #B2B218;
Brightness & contrast
Relative luminance0.41372WCAG 2.x, 0 is black and 1 is white
Perceived brightness167.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.27:1
Contrast with white2.26:1WCAG normal text: Fail
Contrast with black9.27:1WCAG normal text: AAA
Greyscale equivalent#A7A7A7
Inverted#4D4DE7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.26:1WCAG large text: Fail
Contrast with black, large text9.27:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1818B2
Analogous#B26518, #65B218
Triadic#18B2B2, #B218B2
Split complementary#1865B2, #6518B2
Tetradic#18B265, #1818B2, #B21865
Tints, shades & saturation
Channel breakdown
R178
G178
B24
Red178 (69.8%)
Green178 (69.8%)
Blue24 (9.4%)
Hue60°
Saturation (HSL)76.24%
Lightness39.61%
Dominant channelRed and Green
Hex per channelR B2 · G B2 · B 18
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Also reads as
B2B218 (chemical formula)
- Formula
- 2,378.2 g/mol
- 220 atoms
B2B218 has a molar mass of 2,378.2 g/mol, made up of 220 atoms across 1 element: 220 × B.
Molar mass
Molar mass2,378.2 g/mol
Total atoms per molecule220
Distinct elements1
Mass of one molecule3.949094 × 10^-21 g
Molecules per gram2.5322264 × 10^20
Composition by mass
B100%
Boron (B × 220)2,378.2 g/mol, 100%
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Elements in this formula
Nerdulate something else
Nothing in mind? Surprise me · today’s page